unused replacement variable displays %1 in all html2bbcode 'code' blocks
This commit is contained in:
parent
4b1f3555f1
commit
4134fd3dce
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ function html2bbcode($message)
|
|||
node2bbcode($doc, 'audio', array('src'=>'/(.+)/'), '[audio]$1', '[/audio]');
|
||||
node2bbcode($doc, 'iframe', array('src'=>'/(.+)/'), '[iframe]$1', '[/iframe]');
|
||||
|
||||
node2bbcode($doc, 'code', array(), '[code]$1', '[/code]');
|
||||
node2bbcode($doc, 'code', array(), '[code]', '[/code]');
|
||||
|
||||
$message = $doc->saveHTML();
|
||||
|
||||
|
|
Loading…
Reference in a new issue