]> git.mxchange.org Git - friendica.git/commitdiff
bbcode quote display
authorfriendica <info@friendica.com>
Wed, 15 Aug 2012 11:52:18 +0000 (04:52 -0700)
committerfriendica <info@friendica.com>
Wed, 15 Aug 2012 11:52:18 +0000 (04:52 -0700)
include/bbcode.php

index 08beeddfc174252be6e724012f1ff8faecabefc6..cf8d74bb1dc9976a213d9af32ef04a8819e8f4c1 100644 (file)
@@ -411,6 +411,8 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) {
 
 
        $Text = preg_replace('/\[\&amp\;([#a-z0-9]+)\;\]/','&$1;',$Text);
+       $Text = preg_replace('/\&\#039\;/','\'',$Text);
+       $Text = preg_replace('/\&quot\;/','"',$Text);
 
        // fix any escaped ampersands that may have been converted into links
        $Text = preg_replace("/\<(.*?)(src|href)=(.*?)\&amp\;(.*?)\>/ism",'<$1$2=$3&$4>',$Text);