Browse Source

Issue #161: Fixed stylus indent issues with empty files.

main
Lakshmi Vyasarajan 13 years ago
parent
commit
e1cdd457f9
3 changed files with 7 additions and 2 deletions
  1. +5
    -0
      CHANGELOG.rst
  2. +1
    -1
      hyde/ext/plugins/stylus.py
  3. +1
    -1
      hyde/version.py

+ 5
- 0
CHANGELOG.rst View File

@@ -1,6 +1,11 @@
Version 0.8.5a14 Version 0.8.5a14
============================================================ ============================================================


* Bug Fix: Fixed stylus `indent` issues with empty files. (Issue #161)

Version 0.8.5a14
============================================================

* Bug Fix: Added support for plugin paths relative to site. (Issue #107) * Bug Fix: Added support for plugin paths relative to site. (Issue #107)


Version 0.8.5a13 Version 0.8.5a13


+ 1
- 1
hyde/ext/plugins/stylus.py View File

@@ -101,7 +101,7 @@ class StylusPlugin(CLTransformer):
if not resource.source_file.kind == 'styl': if not resource.source_file.kind == 'styl':
return return
stylus = self.app stylus = self.app
source = File.make_temp(text)
source = File.make_temp(text.strip())
target = source target = source
supported = [("compress", "c"), ("include", "I")] supported = [("compress", "c"), ("include", "I")]




+ 1
- 1
hyde/version.py View File

@@ -3,4 +3,4 @@
Handles hyde version Handles hyde version
TODO: Use fabric like versioning scheme TODO: Use fabric like versioning scheme
""" """
__version__ = '0.8.5a14'
__version__ = '0.8.5a15'

Loading…
Cancel
Save