Update escape.py to test new feature

This commit is contained in:
Eric Lapouyade 2020-10-14 16:52:58 +02:00
parent 5faef9f429
commit cf8e493e93
2 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,9 @@ context = {
'the listing\nwith\nsome\nlines\nand special chars : <>&\f ... and a page break'
),
'page_break': R('\f'),
'new_listing': """With the latest version of docxtpl,
there is no need to use Listing objects anymore.
Just use \\n for newline,\n\\t for \ttabulation and \\f for ...\f...page break"""
}
tpl.render(context)

Binary file not shown.