111 Commits

Author SHA1 Message Date
Eric Lapouyade
5dfe448a9a Changed code to be python < 3.6 compatible 2021-10-01 12:20:46 +02:00
Eric Lapouyade
541d5ce7cb Changed code to be python < 3.6 compatible 2021-10-01 12:11:43 +02:00
Eric Lapouyade
b0a5de05aa Codestyling 2021-10-01 08:31:19 +02:00
Eric Lapouyade
1f3ef9b236 Add quiet option, update doc, modify test 2021-09-30 17:08:05 +02:00
Lucas
e4737ddfbb Added test for main function, template and json for running test 2021-09-30 09:41:58 -03:00
Eric Lapouyade
61c8924663 V0.12.0 2021-08-15 15:50:45 +02:00
Eric Lapouyade
b7d782ab20 Should solve #372 2021-08-15 02:58:50 +02:00
Eric Lapouyade
6722d63537 code styling 2021-07-31 14:16:23 +02:00
Eric Lapouyade
30712bbc67 Working on better subdocs 2021-07-31 12:49:47 +02:00
Eric Lapouyade
ba9a4629e9 PR #351 2021-05-09 12:36:28 +02:00
Eric Lapouyade
30578cf88c InlineImage now possible in header/footer 2021-04-06 09:46:57 +02:00
Eric Lapouyade
3d95dd88f7 flake8 code styling fix 2020-11-09 09:30:21 +01:00
Eric Lapouyade
0c5ebcbc54 flake8 code styling fix 2020-11-09 09:22:33 +01:00
Eric Lapouyade
79994ed2c8 fix #323 2020-11-09 09:12:16 +01:00
Eric Lapouyade
4af6f2282f flake8 fixes 2020-10-19 14:16:07 +02:00
Eric Lapouyade
344a7d1676 flake8 fixes 2020-10-19 14:10:24 +02:00
Eric Lapouyade
44a0819625 \n, \a, \t and \f are now accepted in simple context string 2020-10-19 13:59:36 +02:00
Eric Lapouyade
7282856484 revert 0.10.4 2020-10-15 15:07:29 +02:00
Eric Lapouyade
9946c74fdc PR #307 + #312 2020-10-15 08:57:03 +02:00
Eric Lapouyade
528c3b1ca5 Revert escape.py test files 2020-10-14 17:09:39 +02:00
Eric Lapouyade
cf8e493e93 Update escape.py to test new feature 2020-10-14 16:52:58 +02:00
UncleOraix
b1453e6eba Support more types of underline 2020-08-28 23:51:42 +08:00
Eric Lapouyade
74d46579be Fix codestyling (lint with flake8) 2020-05-24 12:07:24 +02:00
Eric Lapouyade
7363428782 v0.10.0 2020-05-24 11:54:49 +02:00
Edwin Smulders
9175f0cbd6 Fix codestyling according to flake8 rules 2020-04-16 23:06:57 +02:00
Eric Lapouyade
ccdf20a121 v0.9.0 2020-04-15 15:11:47 +02:00
Eric Lapouyade
97be69b950 {%- xxx -%} merging feature 2020-04-14 22:51:36 +02:00
Eric Lapouyade
888dd085f6 v0.7.0 2020-04-09 16:01:45 +02:00
Eric Lapouyade
444f862efa Add replace_zipname() 2020-04-09 14:26:22 +02:00
Sébastien MAUROY
9a4dd4e28c Adds the ability to add a RichText object to another RichText object 2019-11-09 12:14:24 +01:00
Eric Lapouyade
9f1cb53205
Merge pull request #203 from edufresne/master
Fix need to "Recover document" after using replace_media and saving to file-like object
2019-06-05 09:06:30 +02:00
ericdufresne
fbb930d3ea Provide better support for file-like objects with replace-media 2019-06-03 11:34:16 -04:00
Eric Lapouyade
d9b5a4d2ab v0.6.0 : DocxTemplate now accepts file-like objects 2019-06-03 16:31:45 +02:00
ericdufresne
a021c517f5 Issue- #200 2019-05-30 10:34:39 -04:00
ericdufresne
cd77712b5e Issue #197 - Add support for file-like objects for replace_media 2019-05-22 15:15:19 -04:00
Eric Lapouyade
2fad92046e Added PAGE_BREAK feature (#168) 2019-01-02 11:41:41 +01:00
Max Podolskii
5f6a5c4d6c Added PAGE_BREAK feature: use '\f' in your text to get a manual page break rendered. 2018-12-27 22:21:46 -08:00
Max Podolskii
758daeeaab Fixed issue #159: autoescaped values for both str and unicode. 2018-12-19 23:13:06 -08:00
Nick Gashkov
195d6a7090 Fix tables with gridSpan that still have less cells after the tc forloop 2018-12-17 15:27:14 +03:00
Eric Lapouyade
a81c7cf31a
Revert "Fix tables that have less cells after the tc forloop" 2018-12-17 08:57:41 +01:00
Nick Gashkov
484c2c32bc Fix 'gridSpan' of tables that have less cells after the '{%tc for%}' 2018-12-13 19:30:54 +03:00
Eric Lapouyade
e5c4c14966 - Smart quotes in jinja tags are now converted into simple quotes
- Add custom jinja filter example in tests/
- Reformat the code to be a little more PEP8 compliant
2018-11-20 15:30:12 +01:00
Eric Lapouyade
20e30c541c v0.5.9 2018-11-18 17:56:14 +01:00
Nick Gashkov
9aa6019d25 Add horizontal merge '{% hm %}' tag support 2018-11-16 16:44:12 +03:00
Eric Lapouyade
8b351236f7 fix #154 2018-11-08 12:20:09 +01:00
Max P
4564fed0b3 Added compatibility with Python 2.7 as to the method escape_values. 2018-11-07 17:38:57 -08:00
elapouya
bc9820e7cf Render can now autoescape context dict 2018-11-07 16:56:25 +01:00
Max P
8dc7cc7de3 Added reminder for the test files. 2018-11-05 18:31:16 -08:00
Max P
7e72603441 Added test files for the auto escape. 2018-11-05 18:29:33 -08:00
Max P
40bf39cde7 Added method escape_values. Exclusively for Python3. 2018-11-05 18:17:43 -08:00