Commit graph

220 commits

Author SHA1 Message Date
xsetra
cf7489a1c0 _pack_document() method changed. ODT files have to start mimetype with non-zipped 2017-07-13 09:47:25 +03:00
Christopher Ramírez
d132c2a98c Document new version changes. 2017-06-12 12:59:37 -06:00
Christopher Ramírez
02e7c97ad0 Increase minor version. 2017-06-12 12:57:43 -06:00
Christopher Ramírez
fb2fbe15a3 Adding new exceptions to .gitignore. 2017-06-12 12:55:05 -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 Ramírez
71c7badf30 Merge pull request #38 from mpasternak/master
Adding badges and Travis for lastest Python versions.
2017-05-02 16:51:17 -06:00
Michał Pasternak
e01dead727 Let's try another way then 2017-05-02 22:39:43 +02:00
Michał Pasternak
3b93437db5 Strip whitespace 2017-05-02 22:35:09 +02:00
Michał Pasternak
30f4f5207d Change base python to 3.5, because it broke (https://travis-ci.org/mpasternak/secretary/jobs/228097578) 2017-05-02 22:34:31 +02:00
Michał Pasternak
80bc2f243e Badges, again 2017-05-02 22:29:36 +02:00
Michał Pasternak
31e4f25724 More Python versions 2017-05-02 22:18:09 +02:00
Michał Pasternak
d748ecd785 Make TravisCI use tox configuration 2017-05-02 22:17:59 +02:00
Michał Pasternak
3162b42c36 Badges 2017-05-02 22:17:46 +02:00
Christopher Ramírez
0db3f593e1 Add version log for 0.2.14. 2017-02-13 11:58:52 -06:00
Christopher Ramírez
b1a83ba305 Document in README changes introduced by fixing hyperlink encoding in #34. 2017-02-13 11:40:10 -06:00
Christopher Ramírez
df513dbaa3 Increase version. 2017-02-13 11:24:27 -06:00
Christopher Ramírez
96ceaf41f1 Fix #34
Automatically unescape URIs whose scheme is "secretary".
2017-02-13 11:22:22 -06:00
Christopher Ramírez
a827b28f48 Fix #33
Check for existance of variable "result" when handling ExpatError exception.
2017-02-13 08:38:25 -06:00
Christopher Ramírez
d0bdea1874 Update version number. 2016-11-04 11:13:18 -06:00
Christopher Ramírez
3f0b97ac64 Fix syntax error. 2016-11-04 11:12:27 -06:00
Christopher Ramírez
fdd62c3ff6 Increase version number. 2016-11-04 11:05:02 -06:00
Christopher Ramírez
5f30fc93bf Fix an issue with previous markdown fix.
Previous fix was only keeping the last text node found in a list element.
2016-11-04 11:03:50 -06:00
Christopher Ramírez
e17d03ecae Fix issue reported in #30.
Contents of <li> elements most be wrapped inside a container like <p>.
This container is not automatically created by markdown2 unless the
list items are explicitly separated with double linebreaks.

The above issue was generating documents with invisible list items in
LibreOffice.
2016-11-03 12:27:30 -06:00
Christopher Ramírez
311c615d48 Increase version. 2016-04-15 12:09:44 -06:00
Christopher Ramírez
5f87065c19 Repair bug introduced in 7244e87. 2016-04-15 12:07:01 -06:00
Christopher Ramírez
1b2a3cf46e Remove record of newer buggy builds. 2016-04-12 15:31:34 -06:00
Christopher Ramírez
bee953f9ce Increase minor version number. 2016-04-12 14:57:51 -06:00
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 &apos; in Renderer._compile_escape_expressions. 2016-04-12 12:06:30 -06:00
Christopher Ramírez
cccd87e2da Escape &apos; 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