[htmltmpl] extra whitespace
Brought to you by:
samtregar
From: Alex T. <al...@ac...> - 2006-02-08 17:43:24
|
Hello, Is there a switch (feature request?) that will tell HTMLTMPL to replace a TMPL followed by [\n\r]+ with nothing - even better replace the whole line if the only thing on the line is a TMPL tag? Currently, the TMPL tags are removed, but the \n or \r that trail them are not. The result is HTML with large amounts of whitespace. The workaround of not putting a \n after a TMPL tag creates hard to read template files. In particular, this would be useful for the TMPL_LOOP and TMPL_IF/UNLESS constructs. Alex |