Merge branch 'master' of github.com:christopher-ramirez/secretary
This commit is contained in:
commit
47207c76ca
3 changed files with 4 additions and 1 deletions
|
|
@ -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`.
|
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
|
### 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.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.14**: Implement dynamic links escaping and fix #33.
|
||||||
* **0.2.13**: Fix reported bug in markdown filter outputing emply lists.
|
* **0.2.13**: Fix reported bug in markdown filter outputing emply lists.
|
||||||
|
|
|
||||||
|
|
@ -451,6 +451,8 @@ class Renderer(object):
|
||||||
return (
|
return (
|
||||||
value.replace('\n', Markup('<text:line-break/>'))
|
value.replace('\n', Markup('<text:line-break/>'))
|
||||||
.replace('\t', Markup('<text:tab/>'))
|
.replace('\t', Markup('<text:tab/>'))
|
||||||
|
.replace('\x0b', '<text:space/>')
|
||||||
|
.replace('\x0c', '<text:space/>')
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -26,7 +26,7 @@ class PyTest(TestCommand):
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='secretary',
|
name='secretary',
|
||||||
version='0.2.15',
|
version='0.2.16',
|
||||||
url='https://github.com/christopher-ramirez/secretary',
|
url='https://github.com/christopher-ramirez/secretary',
|
||||||
license='MIT',
|
license='MIT',
|
||||||
author='Christopher Ramírez',
|
author='Christopher Ramírez',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue