e1d01001ab
remove escaping of variable values as it is handled by jinja2 since at least 2.10
2021-05-17 15:19:40 +02:00
Christopher Ramírez
76cb15e2ba
Introducing new and faster technique to escape variables values.
2017-09-01 15:08:24 -06:00
Christopher Ramírez
3d2cedeec8
Fix #39 .
...
Introducing new tests for _encode_escape_chars.
2017-06-12 12:54:40 -06:00
Florian Ludwig
b62e9e1db3
newline unit tests
2017-05-11 00:14:36 +02: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
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
d97ee275ee
Add new tests for _unescape_entities routine.
2015-05-13 10:45:58 -06:00
Christopher Ramírez
ca59592ff7
Fixs #16 .
2015-04-29 16:31:15 -06:00
Christopher Ramírez
62efc4a24f
New tests for issue #8 .
2014-08-17 19:33:14 -06:00
Christopher Ramírez
9d5e10fb25
remove a comment out line.
2014-07-20 11:38:21 -06:00
Christopher Ramírez
22adeb1dc3
Fix iteritems() call not compatible with python3.
2014-07-19 22:07:41 -06:00
Christopher Ramírez
f54ba5fdba
Adding tests for _unescape_entities and _encode_escape_chars.
2014-07-19 19:40:58 -06:00
Christopher Ramírez
464e5cc532
Updating test with new API.
2014-07-19 18:53:15 -06:00
Andrés Reyes Monge
5f7b240aa6
Now using Travis-CI to automatize the tests, some changes to make tests pass in python3.3
2013-08-27 15:51:16 -06:00
Andrés Reyes Monge
58d0ea0575
Starting a test suite
2013-08-17 10:54:53 -06:00