Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.
Help keep Vanilla free:
this$String = preg_replace(
array(
'/<code((?>[^>]*))>(.+?)<\/code(?>[^>]*)>/sei',
'/<(?![A-Za-z\/'.(HTML_ALLOW_COMMENTS?'!':'').'])/i'
), //yet again, order is important
array(
'\'<code\'.$this->RemoveQuoteSlashes(\'\1\').\'>\'.htmlspecialchars($this->RemoveQuoteSlashes(\'\2\')).\'<./code>\'',
'<'
),
$String
);Edit what you want in the replacement array. In your case you'd want to change the first element to something like:'\'<dl><dt><a href="#" onclick="selectCode(this); return false;">Select All</a></dt><dd><code\'.
$this->RemoveQuoteSlashes(\'\1\').\'>\'.htmlspecialchars($this->RemoveQuoteSlashes(\'\2\')).\'<./code></dd></dl>\'', (changing <./code> to </code>, obviously)
1 to 6 of 6