Changes between Initial Version and Version 2 of Ticket #4446


Ignore:
Timestamp:
May 31, 2007, 8:43:03 PM (17 years ago)
Author:
Malcolm Tredinnick
Comment:

Fixed description formatting so that non-code sentences wrap.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4446

    • Property Component UncategorizedTemplate system
    • Property Owner changed from Jacob to Adrian Holovaty
  • Ticket #4446 – Description

    initial v2  
     1The {% spaceless %} filter is not filtering out carriage returns in sub-templates under certain conditions.
    12{{{
    2 the {% spaceless %} filter is not filtering out carriage returns in sub-templates under certain conditions.
    3 
    43{% spaceless %}
    54{% include "something.html" %}
    65{% endspaceless %}
    7 
     6}}}
    87and in something.html
     8{{{
    99{% if test  %}
    1010{% load humanize %}
    1111<a name="thing"></a>
    12 
     12}}}
    1313
    1414will leave one carriage return for each block tag.
    1515A valid work around is.
    16 
     16{{{
    1717<a name="thing"></a>
    1818{% if test  %}
    1919{% load humanize %}
    20 
     20}}}
    2121Once valid html is before the tags, the carriage returns are no longer generated.
    22 }}}
Back to Top