X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fhtml2bbcode.php;h=65cbcec41f66835acca21810cfe64200d43b87dd;hb=e2544abd503ddcbd98a31c75b528aac0c980df35;hp=2ae0df8f688123077eca1b070b2ae749247de254;hpb=bc9e175ced0c7a0b4f51456c9ab3ffb8bf89dd4d;p=friendica.git diff --git a/include/html2bbcode.php b/include/html2bbcode.php index 2ae0df8f68..65cbcec41f 100644 --- a/include/html2bbcode.php +++ b/include/html2bbcode.php @@ -1,50 +1,68 @@ (.*?)\<\/pre\>/is', + '/\
/is',
+ '/\<\/p\>/is',
+ '/\(.*?)\<\/b\>/is',
+ '/\(.*?)\<\/i\>/is',
+ '/\(.*?)\<\/u\>/is',
+ '/\(.*?)\<\/ul\>/is',
+ '/\
/is',
+ '/\
/is',
+ '/\(.*?)\<\/strong\>/is',
+ '/\(.*?)\<\/a\>/is',
+ '/\(.*?)\<\/code\>/is',
+ '/\(.*?)\<\/span\>/is',
+ '/\
(.*?)\<\/blockquote\>/is',
+ '/\