mitsuhiko / jinja2-htmlcompress

Compresses HTML in Jinja2 streams
Other
128 stars 27 forks source link

handling of <img> <br> & friends #1

Closed mdornseif closed 13 years ago

mdornseif commented 13 years ago

htmlcompress currently can't handle "normal" use of
and other "unbalanced" tags. This works:

<br></br>

To my understanding the "XHTML Style" Tags DON'T work:

<br/>

This should be documented or -even better- it should just work :-)

My understanding of jinja2.lexer and associated machinery is currently to limited to provide a pack or even a detailed description of the status quo.