Line Breaks in Template Parameters
Some line breaks are not stripped from around template parameters if HTML is enabled in the post, because they are obfuscated during the strip-whitespace call.
Fixed for the next build. In
vault/class/bbcode/template.php, find:
Code:
$value = $this->parser->strip_front_back_whitespace($value, 1);
if (!empty($value))
{
$value = preg_replace(
'#\#\!\#CES\*TST-@(\d+)\#\!\##Ue',
'\$obfuscater->undo("\1");',
$value
);
}
Replace with:
Code:
if (!empty($value))
{
$value = preg_replace(
'#\#\!\#CES\*TST-@(\d+)\#\!\##Ue',
'\$obfuscater->undo("\1");',
$value
);
}
$value = trim($this->parser->strip_front_back_whitespace($value, 1));