Skip to content

Commit

Permalink
unused replacement variable displays %1 in all html2bbcode 'code' blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
friendica committed Mar 5, 2012
1 parent 4b1f355 commit 4134fd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/html2bbcode.php
Expand Up @@ -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();

Expand Down

0 comments on commit 4134fd3

Please sign in to comment.