1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 20:51:53 +02:00

Fixes #1547 - Parser support for embed and object tags.

This commit is contained in:
Cameron 2016-04-17 13:26:52 -07:00
parent a3fb19d59a
commit 83cdda6004

View File

@ -3175,7 +3175,7 @@ class e_parser
'div','pre','section','article', 'blockquote','hgroup','aside','figure','figcaption', 'abbr','span', 'audio', 'video', 'br',
'small', 'caption', 'noscript', 'hr', 'section', 'iframe'
);
protected $scriptTags = array('script','applet','form','input','button'); //allowed when $pref['post_script'] is enabled.
protected $scriptTags = array('script','applet','form','input','button', 'embed', 'object'); //allowed when $pref['post_script'] is enabled.
protected $blockTags = array('pre','div','h1','h2','h3','h4','h5','h6','blockquote'); // element includes its own line-break.