mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-01-03 05:11:52 +00:00
Add more info to the spec about CSS and start documenting status of each segment.
git-svn-id: http://htmlpurifier.org/svnroot/html_purifier/trunk@23 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
parent
dad395ac45
commit
bbd2ad29bd
@ -9,6 +9,8 @@ STAGES
|
|||||||
|
|
||||||
== STAGE 1 - parsing ==
|
== STAGE 1 - parsing ==
|
||||||
|
|
||||||
|
: Status - largely FINISHED with a few quirks to work out
|
||||||
|
|
||||||
We've got two options for this: HTMLSax or my MarkupLexer. Hopefully, we
|
We've got two options for this: HTMLSax or my MarkupLexer. Hopefully, we
|
||||||
can make the two interfaces compatible. This means that we need a lot
|
can make the two interfaces compatible. This means that we need a lot
|
||||||
of little classes:
|
of little classes:
|
||||||
@ -219,7 +221,9 @@ we probably want to have a function like...
|
|||||||
|
|
||||||
and then pass it to a switch.
|
and then pass it to a switch.
|
||||||
|
|
||||||
The final problem is CSS.
|
The final problem is CSS. Get intimate with the syntax here:
|
||||||
|
http://www.w3.org/TR/CSS21/syndata.html and also note the "bad" CSS elements
|
||||||
|
that HTML_Safe defines to help determine a whitelist.
|
||||||
|
|
||||||
== PART 5 - stringify ==
|
== PART 5 - stringify ==
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user