0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-23 00:41:52 +00:00
htmlpurifier/library/HTMLPurifier/ChildDef
Edward Z. Yang e013bc9126 Fix bug involving autoclose and inline elements in strict <blockquote>.
The newest autoclose code uses the elements property in whether or not an
element should be closed by a particular tag.  The heuristic is simple; if
the element doesn't allow that tag as a child, it closes the parent
container.  This doesn't work, however, with <blockquote>, which while not
allowing inline styles under Strict doctypes, requires them to be passed
through MakeWellFormed.

The fix was to transition MakeWellFormed to call a method to retrieve the
elements, and then have StrictBlockquote implement a special version of
this method.  Future versions of HTML Purifier may be more flexible in this
regard--further study of the HTML5 specification is required.

Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
2008-08-01 20:52:06 -04:00
..
Chameleon.php [3.1.0] The bulk of autoload support added 2008-01-27 01:54:41 +00:00
Custom.php [3.1.0] The bulk of autoload support added 2008-01-27 01:54:41 +00:00
Empty.php [3.1.0] The bulk of autoload support added 2008-01-27 01:54:41 +00:00
Optional.php [3.1.0] The bulk of autoload support added 2008-01-27 01:54:41 +00:00
Required.php [3.1.1] Land vs's HTMLPurifier_Generator patch, and a number of other bugfixes for that change 2008-05-26 04:05:48 +00:00
StrictBlockquote.php Fix bug involving autoclose and inline elements in strict <blockquote>. 2008-08-01 20:52:06 -04:00
Table.php [3.1.0] The bulk of autoload support added 2008-01-27 01:54:41 +00:00