Just feel like contributing this.
if you get @@@Smarty Trim Pre @@@ added to the textbox itself,
there is a bug in the smarty plugin - outputfilter.trimwhitespace.php
Just rearrange filters order, the textarea block should be filtered first as shown below.
// replace textarea blocks
smarty_outputfilter_trimwhitespace_replace("@@@SMA RTY:TRIM:TEXTAREA@@@",$_textarea_blocks, $source);
// replace script blocks
smarty_outputfilter_trimwhitespace_replace("@@@SMA RTY:TRIM:SCRIPT@@@",$_script_blocks, $source);
// replace pre blocks
smarty_outputfilter_trimwhitespace_replace("@@@SMA RTY:TRIM:PRE@@@",$_pre_blocks, $source);


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks