Browse Source

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

pull/81/merge
friendica 11 years ago
parent
commit
4134fd3dce
  1. 2
      include/html2bbcode.php

2
include/html2bbcode.php

@ -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…
Cancel
Save