id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 9198 Make the {% include %} strip a trailing newline Javier de la Rosa nobody "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." Cleanup/optimization new Template system 1.0 Normal Accepted 0 0 0 0 0 0