aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-08 19:28:18 -0800
committerfriendica <info@friendica.com>2015-02-08 19:28:18 -0800
commitb8add899a22039697b1ea92d4a854f541ad8f7cb (patch)
tree498c5388073a9ec3654e0f96412e347fd31c5494 /mod/item.php
parent64191de5e741fc1c365db45f197b2153c14e17c2 (diff)
downloadvolse-hubzilla-b8add899a22039697b1ea92d4a854f541ad8f7cb.tar.gz
volse-hubzilla-b8add899a22039697b1ea92d4a854f541ad8f7cb.tar.bz2
volse-hubzilla-b8add899a22039697b1ea92d4a854f541ad8f7cb.zip
undo extra logging
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/item.php b/mod/item.php
index d8cbeadc7..6ae02b510 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -516,6 +516,7 @@ function item_post(&$a) {
* First protect any url inside certain bbcode tags so we don't double link it.
*/
+
$body = preg_replace_callback('/\[code(.*?)\[\/(code)\]/ism','red_escape_codeblock',$body);
$body = preg_replace_callback('/\[url(.*?)\[\/(url)\]/ism','red_escape_codeblock',$body);
$body = preg_replace_callback('/\[zrl(.*?)\[\/(zrl)\]/ism','red_escape_codeblock',$body);