* Alex Teslik <[EMAIL PROTECTED]> [February 08 2006, 20:43]:
>    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.

That would be very useful option indeed if done well and fast.
I'd use it everywhere.

-- 
Alex Kapranoff,
$n=["1another7Perl213Just3hacker49"=~/\d|\D*/g];
$$n[0]={grep/\d/,@$n};print"@$n{1..4}\n"


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to