]> git.mxchange.org Git - friendica.git/blobdiff - include/html2bbcode.php
upgrading the photo and name update
[friendica.git] / include / html2bbcode.php
index 0236c8374a714bfaa9731247190a72d845001ce4..80841375e8ed28294e7012e5f00d20195e1a33ba 100644 (file)
@@ -17,8 +17,8 @@ $htmltags = array(
                         '/\<strong\>(.*?)\<\/strong\>/is',
                         '/\<a href=\"(.*?)\"(.*?)\>(.*?)\<\/a\>/is',
                        '/\<code\>(.*?)\<\/code\>/is',
-                       '/\<font color=(.*?)\>(.*?)\<\/font\>',
-                       '/\<font color=\"(.*?)\"\>(.*?)\<\/font\>',
+                       '/\<font color=(.*?)\>(.*?)\<\/font\>/is',
+                       '/\<font color=\"(.*?)\"\>(.*?)\<\/font\>/is',
                        '/\<blockquote\>(.*?)\<\/blockquote\>/is',
 
                         );
@@ -35,7 +35,7 @@ $bbtags = array(
                         '\n',
                         '[b]$1[/b]',
                         '[url=$1]$3[/url]',
-                       '[code]$1[/code],
+                       '[code]$1[/code]',
                        '[color="$1"]$2[/color]',
                        '[color="$1"]$2[/color]',
                        '[quote]$1[/quote]',