mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-08 23:08:42 +00:00
e4e981b6f1
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1067 48356398-32a2-884e-a903-53898d9a118a
19 lines
779 B
Plaintext
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).
|