aboutsummaryrefslogtreecommitdiffstats
path: root/include/html2bbcode.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-04 16:26:16 -0800
committerfriendica <info@friendica.com>2012-03-04 16:26:16 -0800
commit4134fd3dcee1b26b888c89c47f798fd3fd058064 (patch)
tree1a052eeb9e347c3c90aa8b119c88a3aca663fa89 /include/html2bbcode.php
parent4b1f3555f14ba645f5c05fd61d869e8c3d656c08 (diff)
downloadvolse-hubzilla-4134fd3dcee1b26b888c89c47f798fd3fd058064.tar.gz
volse-hubzilla-4134fd3dcee1b26b888c89c47f798fd3fd058064.tar.bz2
volse-hubzilla-4134fd3dcee1b26b888c89c47f798fd3fd058064.zip
unused replacement variable displays %1 in all html2bbcode 'code' blocks
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();