0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-09-20 03:05:18 +00:00
htmlpurifier/tests/HTMLPurifier/HTMLT
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
..
allowed-preserve.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
allowed-remove.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
basic.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
blacklist-preserve.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
blacklist-remove.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
css-allowed-preserve.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
css-allowed-remove.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
disable-uri.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
empty.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
id-default.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
id-enabled.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
munge-extra.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
name.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
safe-object-embed-munge.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
safe-object-embed.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
script-bare.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
script-cdata.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
script-comment.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
script-dbl-comment.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
script-ideal.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
secure-munge.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
shift-jis-preserve-yen.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
shift-jis-remove-yen.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
strict-blockquote-with-inline.htmlt Fix bug involving autoclose and inline elements in strict <blockquote>. 2008-08-01 20:52:06 -04:00
strict-blockquote.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00
strict-underline.htmlt Implement HTMLT tests, and migrate HTMLPurifierTest to this format. 2008-07-07 08:59:33 -04:00