﻿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
16415	Template block function to strip whitespace from specific chunks	Cal Leeming	nobody	"Take the following example:
{{{
<div class=""PostBlock
     {% if forloop.last %}Last{% endif %}
     {% if forloop.first %}
        Alt
     {% else %}
        {% if not forloop.counter|divisibleby:""2"" %}
            Alt
        {% endif %}
     {% endif %}
    "">
</div>
}}}

That would be outputted in a horrible format. Instead, it would be nice to wrap it in something like {% no_whitespace %} {% end_no_whitespace %}, which would in turn strip all whitespace from the beginning and the end.

Any thoughts?

Cal"	New feature	closed	Template system	1.3	Normal	invalid			Unreviewed	0	0	0	0	0	0
