Edward Z. Yang
ff8f24458d
Finish implementing fixNesting(). Removed security-in-depth check for optimization reasons, since the info array will never cause such a condition.
...
git-svn-id: http://htmlpurifier.org/svnroot/html_purifier/trunk@58 48356398-32a2-884e-a903-53898d9a118a
2006-07-20 00:30:35 +00:00
Edward Z. Yang
e1464fa2f6
Update spec:
...
* Info about applicability
* Add more status reports
* Add source of XML_DTD code
* Remark about table child definitions
git-svn-id: http://htmlpurifier.org/svnroot/html_purifier/trunk@51 48356398-32a2-884e-a903-53898d9a118a
2006-06-05 01:08:20 +00:00
Edward Z. Yang
4935c69904
Main: implemented regexp-style validation for complicated child definitions
...
Also:
* Updated spec with some extra comments
* Trigger error if HTMLDTD_ChildDef_Simple has validateChildren called
* Factor out definition assertion in test class
git-svn-id: http://htmlpurifier.org/svnroot/html_purifier/trunk@50 48356398-32a2-884e-a903-53898d9a118a
2006-06-05 00:50:27 +00:00
Edward Z. Yang
e3c4faae41
Add a missing word.
...
git-svn-id: http://htmlpurifier.org/svnroot/html_purifier/trunk@47 48356398-32a2-884e-a903-53898d9a118a
2006-04-18 02:54:39 +00:00
Edward Z. Yang
c5bcd42d3d
Write an introduction to the specification.
...
git-svn-id: http://htmlpurifier.org/svnroot/html_purifier/trunk@46 48356398-32a2-884e-a903-53898d9a118a
2006-04-18 00:20:51 +00:00
Edward Z. Yang
4d2ec806ac
Add a security document, detailing issues that white-listing won't resolve.
...
git-svn-id: http://htmlpurifier.org/svnroot/html_purifier/trunk@45 48356398-32a2-884e-a903-53898d9a118a
2006-04-17 21:32:53 +00:00
Edward Z. Yang
20c53d6017
Add to spec some special cases about exclusions and what to do with invalid data.
...
git-svn-id: http://htmlpurifier.org/svnroot/html_purifier/trunk@43 48356398-32a2-884e-a903-53898d9a118a
2006-04-16 22:51:34 +00:00
Edward Z. Yang
8c80b70c37
Implement automatic <p> and <li> closing. We trimmed down the closing P tags list to something more sane in the spec.
...
git-svn-id: http://htmlpurifier.org/svnroot/html_purifier/trunk@41 48356398-32a2-884e-a903-53898d9a118a
2006-04-16 19:34:28 +00:00
Edward Z. Yang
eefb08b6f9
PureHTMLDefinition::makeWellFormed() is now complete, but may be missing a few unit tests. Update spec: we need transforms for the foreign elements. PureHTMLDefinition's children definitions have info but not behavior.
...
git-svn-id: http://htmlpurifier.org/svnroot/html_purifier/trunk@39 48356398-32a2-884e-a903-53898d9a118a
2006-04-16 16:50:51 +00:00
Edward Z. Yang
bbd2ad29bd
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
2006-04-15 02:28:43 +00:00
Edward Z. Yang
dad395ac45
Scratch PI or JASP from spec. Add extra comments about MarkupFragment's behavior to incoming data. More Todos for our home-brew lexer, and also fix empty tag support in the SAX parer adapter. Add test framework for marking SAX to be tested with the regular result, or a specialized result.
...
git-svn-id: http://htmlpurifier.org/svnroot/html_purifier/trunk@22 48356398-32a2-884e-a903-53898d9a118a
2006-04-15 02:19:27 +00:00
Edward Z. Yang
1f4165d868
Commit our specification document.
...
git-svn-id: http://htmlpurifier.org/svnroot/html_purifier/trunk@16 48356398-32a2-884e-a903-53898d9a118a
2006-04-15 01:06:54 +00:00