tickets: 9198
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9198 | 2008-09-24 14:03:37 | 2017-01-07 00:16:20 | 2022-03-06 03:44:17.469496 | Accepted | new | Template system | Cleanup/optimization | Normal | 1.0 | Make the {% include %} strip a trailing newline | If I have a template {{{ # template1.html Line 1 Line 2 }}} And I include this template in other one using templatetag include: {{{ # template2.html {% include template1.html %} Line 3 }}} The output must be: {{{ # template2.html # template1.html Line 1 Line 2 Line 3 }}} But the actual output is: {{{ # template2.html # template1.html Line 1 Line 2 Line 3 }}} This behavior is particularly annoying when it renders a template including JSON. | nobody | versae | 0 | 0 | 0 | 0 | 0 | 0 |