diff --git a/README.md b/README.md index 7bbcf96..3bc0bb8 100644 --- a/README.md +++ b/README.md @@ -159,6 +159,7 @@ Pad zeroes to `value` to the left until output value's length be equal to `lengt Secretary supports most of the jinja2 control structure/flow tags. But please avoid using the following tags since they are not supported: `block`, `extends`, `macro`, `call`, `include` and `import`. ### Version History +* **0.2.16**: Fix store of mimetype in rendered ODT archive. * **0.2.15**: Fix bug reported in #39 escaping Line-Feed and Tab chars inside `text:` elements. * **0.2.14**: Implement dynamic links escaping and fix #33. * **0.2.13**: Fix reported bug in markdown filter outputing emply lists. diff --git a/secretary.py b/secretary.py index 1d732d9..8854eb6 100644 --- a/secretary.py +++ b/secretary.py @@ -451,6 +451,8 @@ class Renderer(object): return ( value.replace('\n', Markup('')) .replace('\t', Markup('')) + .replace('\x0b', '') + .replace('\x0c', '') ) diff --git a/setup.py b/setup.py index f667bf1..3ce47ca 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ class PyTest(TestCommand): setup( name='secretary', - version='0.2.15', + version='0.2.16', url='https://github.com/christopher-ramirez/secretary', license='MIT', author='Christopher Ramírez',