1
0
Fork 0

unused replacement variable displays %1 in all html2bbcode 'code' blocks

This commit is contained in:
friendica 2012-03-04 16:26:16 -08:00
parent 4b1f3555f1
commit 4134fd3dce

View file

@ -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();