X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fhtml2bbcode.php;h=d4e8cce6661cf84ebba4bac9ea9c819dba62c292;hb=d28d2ff440efba47ad65cf28eab4be96e0ea05b2;hp=734282d95c2f398ec0499777c12242508979b17c;hpb=53dff2204bf2cbe46b6cbdb7174fa0cf1a7162b1;p=friendica.git diff --git a/include/html2bbcode.php b/include/html2bbcode.php index 734282d95c..d4e8cce666 100644 --- a/include/html2bbcode.php +++ b/include/html2bbcode.php @@ -35,6 +35,7 @@ function html2bbcode($s) { '/\(.*?)\<\/blockquote\>/is', '/\(.*?)\<\/video\>/is', '/\(.*?)\<\/audio\>/is', + '/\(.*?)\<\/iframe\>/is', ); @@ -60,6 +61,7 @@ function html2bbcode($s) { '[quote]$1[/quote]', '[video]$1[/video]', '[audio]$1[/audio]', + '[iframe]$1[/iframe]', ); // Replace $htmltags in $text with $bbtags