0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-23 00:41:52 +00:00
htmlpurifier/docs/ref-loose-vs-strict.txt
Edward Z. Yang e4e981b6f1 Update documentation.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1067 48356398-32a2-884e-a903-53898d9a118a
2007-05-17 18:36:39 +00:00

19 lines
779 B
Plaintext

Loose versus Strict
[rename/deprecation pending]
The most common change between doctypes are between the two flavors of HTML 4.01 and
XHTML 1.0: Transitional (Loose) and Strict. Besides deprecated attributes and elements
(which are quite easy to identify), there are two content model changes that were
made:
BLOCKQUOTE changes from 'flow' to 'block'
current behavior: inline inner contents should not be nuked, block-ify as necessary
ADDRESS from potpourri to Inline (removes p tags)
current behavior: block tags silently dropped
ideal behavior: replace block elements with something like <br>. (not high priority,
somewhat difficult to implement)
We're missing strict support for U, S, STRIKE: this needs to be fixed soon (and
is quite simple to fix).