﻿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
4446	spaceless fails under specific condition of subtemplate	shwag < >	nobody	"The {% spaceless %} filter is not filtering out carriage returns in sub-templates under certain conditions.
{{{
{% spaceless %}
{% include ""something.html"" %}
{% endspaceless %}
}}}
and in something.html
{{{
{% if test  %}
{% load humanize %}
<a name=""thing""></a>
}}}

will leave one carriage return for each block tag.
A valid work around is.
{{{
<a name=""thing""></a>
{% if test  %}
{% load humanize %}
}}}
Once valid html is before the tags, the carriage returns are no longer generated."		closed	Template system	dev		worksforme			Unreviewed	0	0	0	0	0	0
