Commit graph

192 commits

Author SHA1 Message Date
Christopher Ramírez
7699c83797 Fix passing Py3 bytes object to _unescape_entities. 2016-04-12 14:47:35 -06:00
Christopher Ramírez
ced11cec79 Increase library incremental version number. 2016-04-12 12:36:12 -06:00
Christopher Ramírez
c2275e4725 Escape final rendered xml 2016-04-12 12:26:40 -06:00
Christopher Ramírez
8ab2083558 Escape ' in Renderer._compile_escape_expressions. 2016-04-12 12:06:30 -06:00
Christopher Ramírez
cccd87e2da Escape ' in Renderer._compile_escape_expressions. 2016-04-12 12:05:46 -06:00
Christopher Ramírez
7244e8778e Fix regex in Renderer._compile_escape_expressions. 2016-04-12 12:00:40 -06:00
Christopher Ramírez
eee5e43549 Simplifies ascii encoding of rendered xml. 2016-04-12 11:59:58 -06:00
Christopher
59fa3617c3 Add tests for _is_jinja_tag and _is_block_tag routines. 2015-12-27 09:04:06 -06:00
Christopher
65a46efbbe Revert "_is_jinja_tag and _is_block_tag were returning the result of RE.findall instead of a boolean."
This reverts commit 68bf4678bf.
2015-12-27 09:02:04 -06:00
Christopher
68bf4678bf _is_jinja_tag and _is_block_tag were returning the result of RE.findall instead of a boolean. 2015-12-27 09:01:14 -06:00
Christopher
83561e94d5 _is_jinja_tag and _is_block_tag were returning the result of RE.findall instead of a boolean. 2015-12-27 08:59:47 -06:00
Christopher
4a3ecebeb8 _census_tags instead of using _is_block_tag, it was using old code to determinate if a tag was a block tag. 2015-12-27 08:57:54 -06:00
Christopher
cfd7564c9a Update version. 2015-12-26 21:12:05 -06:00
Christopher
2a7128c9ab Update Renderer docstring. 2015-12-21 12:03:54 -06:00
Christopher
27448e6d64 Update my address in LICENSE.txt. 2015-12-21 11:54:48 -06:00
Christopher
641f0dc05c Update module docstring. 2015-12-21 11:54:06 -06:00
Christopher
6035736c32 Update license. 2015-12-21 11:51:22 -06:00
Christopher
3a2b4b9c3b Reimplement _unescape_entities routine.
</?text:s.*?> entities are not longer escaped.
This functionallity was used when secretary handled plain text
jinja instructions. This now is no longer supported since the
official method to add instructions is through input fields.
2015-12-21 11:29:41 -06:00
Christopher Ramírez
5daa1a2c2b Secretary now handles custom jinja tags ending and starting strings. 2015-12-17 16:15:12 -06:00
Christopher
036d339e70 Refactor _prepare_template_tags routine. 2015-12-16 22:19:24 -06:00
Christopher Ramírez
8462db6e03 Add tox for managing test environments. 2015-12-04 09:35:41 -06:00
Christopher Ramírez
1e77732d5a Fix #25 2015-12-04 09:03:25 -06:00
Christopher Ramírez
8c86a7b374 Update readme to display a screenshot of conditional paragraphs. 2015-05-13 10:47:53 -06:00
Christopher Ramírez
d97ee275ee Add new tests for _unescape_entities routine. 2015-05-13 10:45:58 -06:00
Christopher Ramírez
8031bc3876 Update version number. 2015-05-13 10:30:27 -06:00
Christopher Ramírez
2896491e79 Fix critical issues in regexs used by _unescape_entities function. 2015-05-13 10:27:46 -06:00
Christopher Ramírez
fc0bdad55c Replace markdown table with a screenshot. 2015-05-11 14:41:08 -06:00
Christopher Ramírez
6b8f66533f Update conditional paragraph screenshot. 2015-05-11 14:38:36 -06:00
Christopher Ramírez
4ee13d1796 Add conditional_paragraph_01.png. 2015-05-11 14:36:43 -06:00
Christopher Ramírez
033bbd82f6 Add table_01 which is a screen capture of Writer showing a table with jinja markups. 2015-05-11 14:20:19 -06:00
Christopher Ramírez
79559d0b94 Increase version and update documentation. 2015-05-11 13:55:11 -06:00
Christopher Ramírez
ea2cc534a2 Fix wrong regexp used to unscape xml entities inside jinja tags. 2015-05-11 13:53:06 -06:00
Christopher Ramírez
0f6c0eb172 Fix #20. 2015-05-08 12:30:17 -06:00
Christopher Ramírez
7fd4bdbc26 Fix reading 'major' property on Python 2.6. 2015-05-08 12:25:26 -06:00
Christopher Ramírez
2ee75c1d82 Merge branch 'ak04nv-python3_fix' into development 2015-05-08 12:22:11 -06:00
Christopher Ramírez
d1aee1c0fc Merge branch 'python3_fix' of git://github.com/ak04nv/secretary into ak04nv-python3_fix 2015-05-08 12:21:54 -06:00
Christopher Ramírez
c907945510 Merge pull request #17 from ak04nv/patch-1
Update README
2015-05-08 12:16:45 -06:00
Anton Kochnev
1825995c4d fixed xrange issue in py3 2015-05-07 16:02:37 +08:00
Anton Kochnev
d38db943aa Update README
Added syntax in code, redrew the table,  fixed typo
2015-05-07 14:28:32 +07:00
Christopher Ramírez
81f6b9af7e Update version number. 2015-04-29 16:41:18 -06:00
Christopher Ramírez
ca59592ff7 Fixs #16. 2015-04-29 16:31:15 -06:00
Christopher Ramírez
029bc9b82d Merge branch 'DieterBuysAI-master' into development 2015-04-29 11:55:18 -06:00
Christopher Ramírez
d6abc37ccb Make ajustments in PR #15. For now leaving #16 open. This fixes #14, and closes #15. 2015-04-29 11:54:35 -06:00
Dieter Buys
1cffe9f224 Text style tags are now properly stripped from template elements 2015-04-27 17:45:18 -07:00
Dieter Buys
d84266182a Fix for mishandled " and & characters 2015-04-27 16:29:26 -07:00
Christopher Ramírez
865ece2e24 Update version number. 2015-04-13 11:51:01 -06:00
Christopher Ramírez
cb60f1ee0b Fix UnicodeEncodeError bug. 2015-04-13 11:50:40 -06:00
Christopher Ramírez
e0f0145043 Fix refence issue number in readme.md. 2015-02-03 16:23:07 -06:00
Christopher Ramírez
488d70a42f Merge branch 'development' 2015-02-03 16:21:40 -06:00
Christopher Ramírez
f5199ea14a Increment version. 2015-02-03 16:20:27 -06:00