aboutsummaryrefslogtreecommitdiffstats
path: root/include/html2bbcode.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2012-03-06 09:48:08 +0100
committerFabio Comuni <fabrix.xm@gmail.com>2012-03-06 09:48:08 +0100
commitbe9985a3aed1bfbbc6964973e2f12d0bd7928c04 (patch)
tree4fc044f6200f010778363a8de72671f45c259eaa /include/html2bbcode.php
parent8a51e29824fc2569ac1d0def3070bee7c0552231 (diff)
parentd04fba704861fa27184346d0cefe2069ec8cfa6d (diff)
downloadvolse-hubzilla-be9985a3aed1bfbbc6964973e2f12d0bd7928c04.tar.gz
volse-hubzilla-be9985a3aed1bfbbc6964973e2f12d0bd7928c04.tar.bz2
volse-hubzilla-be9985a3aed1bfbbc6964973e2f12d0bd7928c04.zip
Merge remote-tracking branch 'friendica/master'
Diffstat (limited to 'include/html2bbcode.php')
-rwxr-xr-xinclude/html2bbcode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/html2bbcode.php b/include/html2bbcode.php
index 51d629940..32a90d7d6 100755
--- a/include/html2bbcode.php
+++ b/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();