diff options
Diffstat (limited to 'include/html2bbcode.php')
-rwxr-xr-x | include/html2bbcode.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/html2bbcode.php b/include/html2bbcode.php index 442e38691..0dafecc71 100755 --- a/include/html2bbcode.php +++ b/include/html2bbcode.php @@ -216,7 +216,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(); |