0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-22 08:21:52 +00:00

Support for flashvars in HTML.SafeEmbed.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
This commit is contained in:
Edward Z. Yang 2010-03-30 13:33:13 -04:00
parent 70a7a3f5dd
commit 8ef4fb22db
3 changed files with 3 additions and 1 deletions

2
NEWS
View File

@ -14,7 +14,7 @@ NEWS ( CHANGELOG and HISTORY ) HTMLPurifier
! Support YouTube slideshows that contain /cp/ in their URL. ! Support YouTube slideshows that contain /cp/ in their URL.
! Support for data: URI scheme; not enabled by default, add it using ! Support for data: URI scheme; not enabled by default, add it using
%URI.AllowedSchemes %URI.AllowedSchemes
! Support flashvars when using %HTML.SafeObject ! Support flashvars when using %HTML.SafeObject and %HTML.SafeEmbed.
! Support for Internet Explorer compatibility with %HTML.SafeObject ! Support for Internet Explorer compatibility with %HTML.SafeObject
using %Output.FlashCompat. using %Output.FlashCompat.
! Handle <ol><ol> properly, by inserting the necessary <li> tag. ! Handle <ol><ol> properly, by inserting the necessary <li> tag.

1
TODO
View File

@ -19,6 +19,7 @@ Things to do as soon as possible:
- Build in better internal state dumps and debugging tools for remote - Build in better internal state dumps and debugging tools for remote
debugging debugging
- Allowed/Allowed* have strange interactions when both set - Allowed/Allowed* have strange interactions when both set
- Transform lone embeds into object tags
FUTURE VERSIONS FUTURE VERSIONS
--------------- ---------------

View File

@ -20,6 +20,7 @@ class HTMLPurifier_HTMLModule_SafeEmbed extends HTMLPurifier_HTMLModule
'height' => 'Pixels#' . $max, 'height' => 'Pixels#' . $max,
'allowscriptaccess' => 'Enum#never', 'allowscriptaccess' => 'Enum#never',
'allownetworking' => 'Enum#internal', 'allownetworking' => 'Enum#internal',
'flashvars' => 'Text',
'wmode' => 'Enum#window', 'wmode' => 'Enum#window',
'name' => 'ID', 'name' => 'ID',
) )