diff options
author | Friendika <info@friendika.com> | 2011-06-15 03:41:28 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-06-15 03:41:28 -0700 |
commit | 7601ce7de747dcffdb63be027ed8b8327e0b6e41 (patch) | |
tree | a040c246b2b4a5086235163a121e9b5bf601c67e /include/html2bbcode.php | |
parent | cee63c7a0d5362e255551d0a8c3dfa667322f8b1 (diff) | |
download | volse-hubzilla-7601ce7de747dcffdb63be027ed8b8327e0b6e41.tar.gz volse-hubzilla-7601ce7de747dcffdb63be027ed8b8327e0b6e41.tar.bz2 volse-hubzilla-7601ce7de747dcffdb63be027ed8b8327e0b6e41.zip |
iframes
Diffstat (limited to 'include/html2bbcode.php')
-rw-r--r-- | include/html2bbcode.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/html2bbcode.php b/include/html2bbcode.php index 734282d95..d4e8cce66 100644 --- a/include/html2bbcode.php +++ b/include/html2bbcode.php @@ -35,6 +35,7 @@ function html2bbcode($s) { '/\<blockquote\>(.*?)\<\/blockquote\>/is', '/\<video(.*?) src=\"(.*?)\" (.*?)\>(.*?)\<\/video\>/is', '/\<audio(.*?) src=\"(.*?)\" (.*?)\>(.*?)\<\/audio\>/is', + '/\<iframe(.*?) src=\"(.*?)\" (.*?)\>(.*?)\<\/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 |