Edward Z. Yang
780c7fd309
[1.2.0] Revamp docs
...
- Style existing HTML files (taken from AuthTools)
- Add svn:eol-style=native and svn:keywords=Id to all file
- Add metadata to HTML files
- Trim DevNetwork by using <base>
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@532 48356398-32a2-884e-a903-53898d9a118a
2006-11-19 02:36:47 +00:00
Edward Z. Yang
dec6c52695
[1.2.0] Add a i18n documentation text.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@531 48356398-32a2-884e-a903-53898d9a118a
2006-11-18 23:58:41 +00:00
Edward Z. Yang
bdab77b59e
[1.2.0] Update Devnetwork topic document.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@529 48356398-32a2-884e-a903-53898d9a118a
2006-11-18 03:33:30 +00:00
Edward Z. Yang
b0df2f292f
[1.2.0] Migrate feature requests in the code quality document to TODO.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@527 48356398-32a2-884e-a903-53898d9a118a
2006-11-17 22:13:16 +00:00
Edward Z. Yang
7a4c7b3777
[1.2.0] [BC] ID attributes now disabled by default. New directives:
...
+ %HTML.EnableAttrID - restores old behavior by allowing IDs
+ %Attr.IDPrefix - %Attr.IDBlacklist alternative that munges all user IDs so that they don't collide with your IDs
+ %Attr.IDPrefixLocal - Same as above, but for when there are multiple instances of user content on the page
+ Profuse documentation on how to use these available in id.txt
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@526 48356398-32a2-884e-a903-53898d9a118a
2006-11-17 01:05:41 +00:00
Edward Z. Yang
d48f9b6b21
[1.2.0]
...
- Update TODO
. Add another possible plaintext formatter
. Reference config-ideas.txt for URI options
- Update code-quality.txt, removing issues that have been addressed and updating time for post-beta
- Update config-ideas.txt
. Added more possible URI directives
. Removed silly language control directive
- Improved documentation on Class, CSS and Host
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@524 48356398-32a2-884e-a903-53898d9a118a
2006-11-12 19:26:49 +00:00
Edward Z. Yang
2df5896324
[1.2.0] Add more projected URI control values.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@523 48356398-32a2-884e-a903-53898d9a118a
2006-11-12 04:02:27 +00:00
Edward Z. Yang
f38fe431ed
[1.2.0]
...
- Added %URI.DisableExternal, which prevents links to external websites. You can also use %URI.Host to permit absolute linking to subdomains
- Fixed a few bugs involving null configuration values
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@522 48356398-32a2-884e-a903-53898d9a118a
2006-11-12 03:35:41 +00:00
Edward Z. Yang
4ee1bf94e3
[1.2.0] Assorted tinyfixes
...
- Add TODO request about Phalanger, something to do if I'm really bored
- Update XSS attacks
- Minor formatting/grammar fixes in documentation
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@502 48356398-32a2-884e-a903-53898d9a118a
2006-11-03 02:40:37 +00:00
Edward Z. Yang
8f515b9cda
[1.2.0]
...
- Partially finished migrating to new Context object (done in r485).
- Created HTMLPurifier_Harness to assist with testing, ChildDefTest migrated to that framework.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@484 48356398-32a2-884e-a903-53898d9a118a
2006-10-01 20:47:07 +00:00
Edward Z. Yang
24663d65ed
[1.1.1] To make up for DOMLex's tendency to drop tags, we've added a configuration option to let Tidy cleanup the HTML afterwards. Good for hand-editors. Also, Tidy is a smart solution for pretty-printed HTML, so we're marking the related TODO wontfix.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@454 48356398-32a2-884e-a903-53898d9a118a
2006-09-24 21:23:54 +00:00
Edward Z. Yang
c046da638a
[1.1.1] Update milestones in progress.html
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@443 48356398-32a2-884e-a903-53898d9a118a
2006-09-23 18:39:27 +00:00
Edward Z. Yang
801dbcafb7
- Update filter-levels document to cover CSS and attributes
...
- Add colors proposal, for constraining allowed colors in document
- Add strictness proposal, for attributes that are permitted by Transitional but not by HTML Purifier
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@442 48356398-32a2-884e-a903-53898d9a118a
2006-09-23 18:37:30 +00:00
Edward Z. Yang
7a6de55f76
[1.1.1] Update documentation.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@435 48356398-32a2-884e-a903-53898d9a118a
2006-09-17 21:53:12 +00:00
Edward Z. Yang
b5c69d8ca5
Update documentation.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@418 48356398-32a2-884e-a903-53898d9a118a
2006-09-15 01:59:43 +00:00
Edward Z. Yang
665e80d223
Remove outdated and misleading DTD.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@416 48356398-32a2-884e-a903-53898d9a118a
2006-09-15 00:28:49 +00:00
Edward Z. Yang
1de3088276
Refactor encoding and entity specific processing to HTMLPurifier_Encoder. We also need to refactor the escaping to this class too.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@339 48356398-32a2-884e-a903-53898d9a118a
2006-08-29 19:36:40 +00:00
Edward Z. Yang
55503744ee
Slight adjustments to demo: reset to default time limit and send out a header indicating character encoding.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@338 48356398-32a2-884e-a903-53898d9a118a
2006-08-29 19:06:43 +00:00
Edward Z. Yang
670d298a87
Implement list-style shorthand. Also, updated devnetwork.html with more recent threads.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@337 48356398-32a2-884e-a903-53898d9a118a
2006-08-29 02:01:58 +00:00
Edward Z. Yang
a1b60ad70f
- Update Doxyfile to ignore PHPDoc files.
...
- More progress color twiddling, add new type feature
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@334 48356398-32a2-884e-a903-53898d9a118a
2006-08-28 20:24:25 +00:00
Edward Z. Yang
3e8b1d1148
Update progress, add target milestones.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@333 48356398-32a2-884e-a903-53898d9a118a
2006-08-28 20:18:56 +00:00
Edward Z. Yang
24cde9c891
Revamp configuration files so that more rules can be added, internal organization is more logical, and descriptions are captured.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@327 48356398-32a2-884e-a903-53898d9a118a
2006-08-27 18:49:16 +00:00
Edward Z. Yang
78414abafd
Implement all useful table properties.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@325 48356398-32a2-884e-a903-53898d9a118a
2006-08-27 01:45:23 +00:00
Edward Z. Yang
692a9abc0f
Implement shorthand CSS property border.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@324 48356398-32a2-884e-a903-53898d9a118a
2006-08-27 00:49:34 +00:00
Edward Z. Yang
5169fc7a3b
Twiddle colors a little to remove all that red.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@322 48356398-32a2-884e-a903-53898d9a118a
2006-08-27 00:16:36 +00:00
Edward Z. Yang
80e79d906a
Implement CSS property Font.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@321 48356398-32a2-884e-a903-53898d9a118a
2006-08-27 00:11:13 +00:00
Edward Z. Yang
a43a2730bc
Add filter levels document, detailing how to extend Definition.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@320 48356398-32a2-884e-a903-53898d9a118a
2006-08-26 18:44:50 +00:00
Edward Z. Yang
ca1453401f
Update documentation.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@319 48356398-32a2-884e-a903-53898d9a118a
2006-08-25 03:01:16 +00:00
Edward Z. Yang
6af60425b8
Modify demo so that outputted source in text area is SGML valid.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@314 48356398-32a2-884e-a903-53898d9a118a
2006-08-21 00:48:43 +00:00
Edward Z. Yang
679302b161
Detail structural changes involving Config and *Definition
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@305 48356398-32a2-884e-a903-53898d9a118a
2006-08-19 23:08:58 +00:00
Edward Z. Yang
c393ef8a81
+ DevNetwork thread "Non-SGML characters"
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@298 48356398-32a2-884e-a903-53898d9a118a
2006-08-18 15:13:18 +00:00
Edward Z. Yang
04c0953af0
Link back to home page.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@286 48356398-32a2-884e-a903-53898d9a118a
2006-08-17 01:41:32 +00:00
Edward Z. Yang
cd0108d656
Update docs, add CREDITS.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@283 48356398-32a2-884e-a903-53898d9a118a
2006-08-16 17:35:24 +00:00
Edward Z. Yang
ed7e72f2e3
Commit FontFamily implementation. It's a little flaky, but should be reasonable for 99% of all fonts.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@282 48356398-32a2-884e-a903-53898d9a118a
2006-08-16 17:25:25 +00:00
Edward Z. Yang
ad31107b1e
Update docs, add NEWS and WYSIWYG.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@281 48356398-32a2-884e-a903-53898d9a118a
2006-08-16 16:32:44 +00:00
Edward Z. Yang
80a0e24afb
Update progress document.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@274 48356398-32a2-884e-a903-53898d9a118a
2006-08-16 01:46:54 +00:00
Edward Z. Yang
3422378c32
Implement all "Multiple" CSS properties.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@273 48356398-32a2-884e-a903-53898d9a118a
2006-08-16 01:39:06 +00:00
Edward Z. Yang
1388beb456
Implement all composite CSS definitions.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@271 48356398-32a2-884e-a903-53898d9a118a
2006-08-16 00:18:58 +00:00
Edward Z. Yang
ed79facadf
Add profiling capabilities to demo.php .
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@264 48356398-32a2-884e-a903-53898d9a118a
2006-08-15 15:33:24 +00:00
Edward Z. Yang
44e95dac34
Add more threads to Devnetwork.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@263 48356398-32a2-884e-a903-53898d9a118a
2006-08-15 14:24:37 +00:00
Edward Z. Yang
d7140f2e05
Outfit a bunch of other classes so they can accept a configuration object. Put in basic scaffolding for extractBody() functionality.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@257 48356398-32a2-884e-a903-53898d9a118a
2006-08-15 00:31:12 +00:00
Edward Z. Yang
24c64dbbac
Implement attribute transforms for required attributes. I can now confidently say that output will always be valid.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@256 48356398-32a2-884e-a903-53898d9a118a
2006-08-14 23:11:28 +00:00
Edward Z. Yang
4ef26bbd31
Update docs.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@254 48356398-32a2-884e-a903-53898d9a118a
2006-08-14 21:21:54 +00:00
Edward Z. Yang
218eb67167
Remove legacy required code from AttrDef_URI, also explicitly disallow < and > in URIs.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@253 48356398-32a2-884e-a903-53898d9a118a
2006-08-14 21:06:57 +00:00
Edward Z. Yang
ebf0da9b78
Add UTF-8 encoding declaration to htmlspecialchars.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@251 48356398-32a2-884e-a903-53898d9a118a
2006-08-14 13:08:59 +00:00
Edward Z. Yang
8c1a4c63ba
Fix minor mispelling.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@250 48356398-32a2-884e-a903-53898d9a118a
2006-08-14 04:15:39 +00:00
Edward Z. Yang
25026cc168
Fix misleading statement: To say it's completely done is incorrect: if the URI is missing to begin with, the lenient output won't get it.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@249 48356398-32a2-884e-a903-53898d9a118a
2006-08-14 04:14:09 +00:00
Edward Z. Yang
d9d2fea769
Format config-ideas correctly.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@246 48356398-32a2-884e-a903-53898d9a118a
2006-08-14 03:05:28 +00:00
Edward Z. Yang
4bf0398984
Add sample test file which demonstrates basic usage.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@245 48356398-32a2-884e-a903-53898d9a118a
2006-08-14 02:57:16 +00:00
Edward Z. Yang
0170bb2120
Add Percentage, and font-size (not all styles fully realized yet though).
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@242 48356398-32a2-884e-a903-53898d9a118a
2006-08-14 02:08:45 +00:00
Edward Z. Yang
681e91b75f
Rename to demo.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@239 48356398-32a2-884e-a903-53898d9a118a
2006-08-14 00:29:25 +00:00
Edward Z. Yang
35fa08420d
Commit live demo, implement unified interface, and fix some security bugs (involving forgotten calls to strategies).
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@238 48356398-32a2-884e-a903-53898d9a118a
2006-08-14 00:27:15 +00:00
Edward Z. Yang
b5ff592157
Add CSSLength support, and roll out to all applicable styles.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@237 48356398-32a2-884e-a903-53898d9a118a
2006-08-13 23:08:38 +00:00
Edward Z. Yang
4ffb2da238
Implement the color AttrDef.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@230 48356398-32a2-884e-a903-53898d9a118a
2006-08-13 21:23:57 +00:00
Edward Z. Yang
415b7d3913
Add more information to progress document, fix an invalid definition in CSSDefinition.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@229 48356398-32a2-884e-a903-53898d9a118a
2006-08-13 19:08:14 +00:00
Edward Z. Yang
441a0cbe94
Minor formatting fixes.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@227 48356398-32a2-884e-a903-53898d9a118a
2006-08-13 17:05:30 +00:00
Edward Z. Yang
1e2f853f4f
Implemented CSS properties whose valid values were enumerated. Accept inherit for all properties. Some composite unit tests.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@226 48356398-32a2-884e-a903-53898d9a118a
2006-08-13 16:52:31 +00:00
Edward Z. Yang
bb2a30ee97
Update Progress document with more annotations and executive decisions about what not to implement.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@224 48356398-32a2-884e-a903-53898d9a118a
2006-08-13 04:50:15 +00:00
Edward Z. Yang
7c86e3cc0f
Commit initial implementation of AttrDef_CSS, with text-align being the only defined property. Further development will be going on in AttrDef and CSSDefinition.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@223 48356398-32a2-884e-a903-53898d9a118a
2006-08-12 20:22:09 +00:00
Edward Z. Yang
df52406a88
Commit optimization document.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@222 48356398-32a2-884e-a903-53898d9a118a
2006-08-12 19:59:49 +00:00
Edward Z. Yang
50e9784677
Commit code-quality tracking documentation.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@221 48356398-32a2-884e-a903-53898d9a118a
2006-08-12 19:56:37 +00:00
Edward Z. Yang
4fe9d943e8
Hook in URI to Definition. Update progress documents.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@220 48356398-32a2-884e-a903-53898d9a118a
2006-08-12 19:22:57 +00:00
Edward Z. Yang
c3c833cc80
Commit configuration ideas document.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@207 48356398-32a2-884e-a903-53898d9a118a
2006-08-12 01:46:17 +00:00
Edward Z. Yang
c86df12ed7
Add a DevNetwork thanks document.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@205 48356398-32a2-884e-a903-53898d9a118a
2006-08-11 20:42:42 +00:00
Edward Z. Yang
0db1cbb7ac
Revamp Configuration classes, breaking backwards configuration compatibility (not that there was much to broken to begin with). Fix bug involving PHP 4 object typecasting.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@203 48356398-32a2-884e-a903-53898d9a118a
2006-08-11 20:23:41 +00:00
Edward Z. Yang
30a8266fc1
Add more possibilities for alternate Def, but we're sticking with Def for now.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@202 48356398-32a2-884e-a903-53898d9a118a
2006-08-10 19:59:43 +00:00
Edward Z. Yang
96e1db19c0
Add CSS1 info to progress.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@184 48356398-32a2-884e-a903-53898d9a118a
2006-08-07 20:28:35 +00:00
Edward Z. Yang
c239662ead
Update progress.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@181 48356398-32a2-884e-a903-53898d9a118a
2006-08-07 00:04:01 +00:00
Edward Z. Yang
27a245313a
Convert progess.html so it can be viewed by all browsers, add TODO item.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@180 48356398-32a2-884e-a903-53898d9a118a
2006-08-06 22:53:07 +00:00
Edward Z. Yang
8adb14e6f5
Reformat charts, add information for transforms.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@179 48356398-32a2-884e-a903-53898d9a118a
2006-08-06 21:52:33 +00:00
Edward Z. Yang
88ccca7d4e
Add CSS tables.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@178 48356398-32a2-884e-a903-53898d9a118a
2006-08-06 21:24:59 +00:00
Edward Z. Yang
76f2e4d371
Commit naming conventions document.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@176 48356398-32a2-884e-a903-53898d9a118a
2006-08-06 17:45:36 +00:00
Edward Z. Yang
9f93706b82
Commit progress tracker.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@175 48356398-32a2-884e-a903-53898d9a118a
2006-08-06 04:31:14 +00:00
Edward Z. Yang
f0deae1fc0
Update documentation.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@147 48356398-32a2-884e-a903-53898d9a118a
2006-08-03 01:37:28 +00:00
Edward Z. Yang
19081ffdf2
Update spec.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@144 48356398-32a2-884e-a903-53898d9a118a
2006-08-03 00:21:27 +00:00
Edward Z. Yang
145a51da5a
Move out Stage 2 docs to correct class.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@141 48356398-32a2-884e-a903-53898d9a118a
2006-08-02 02:26:01 +00:00
Edward Z. Yang
d243545142
Compat changes with earlier versions of PHP.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@139 48356398-32a2-884e-a903-53898d9a118a
2006-08-01 01:57:22 +00:00
Edward Z. Yang
558c49a92d
Make the definition format much more logical. Begin migrating specification docs to their respective classes.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@133 48356398-32a2-884e-a903-53898d9a118a
2006-07-30 19:11:18 +00:00
Edward Z. Yang
70bd80e66a
Added ValidateAttributes strategy and associated unit tests. Amended Generator with some sanity checks. Made Definition include all necessary definitions. Note the two elements (bdo and br) that only use coreattrs.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@132 48356398-32a2-884e-a903-53898d9a118a
2006-07-30 18:37:42 +00:00
Edward Z. Yang
647ff26379
Minor tweaks to documentation and Enum (case-sensitivity is now boolean).
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@128 48356398-32a2-884e-a903-53898d9a118a
2006-07-30 15:29:22 +00:00
Edward Z. Yang
4c737ab430
Commit updated spec files in preparation for attributes.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@126 48356398-32a2-884e-a903-53898d9a118a
2006-07-30 00:29:26 +00:00
Edward Z. Yang
7268987846
Replace the HTML entity files with the XHTML files, they're the same, but being valid XML declarations they should be easier to parse.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@104 48356398-32a2-884e-a903-53898d9a118a
2006-07-23 19:43:19 +00:00
Edward Z. Yang
bcc2b09ac7
Finish documenting PEARSax3, touch up the other docs. Nuke the original lexer.txt document.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@102 48356398-32a2-884e-a903-53898d9a118a
2006-07-23 18:56:00 +00:00
Edward Z. Yang
14f481bcf6
svn:eol-style = native
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@97 48356398-32a2-884e-a903-53898d9a118a
2006-07-23 00:11:03 +00:00
Edward Z. Yang
ac1e62e043
Optimize next*() functions in DirectLex, add test for offset. Update Lexer documents.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@90 48356398-32a2-884e-a903-53898d9a118a
2006-07-22 18:55:34 +00:00
Edward Z. Yang
5bcb3c60cd
Update docs, add lexer.txt
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@83 48356398-32a2-884e-a903-53898d9a118a
2006-07-22 14:57:12 +00:00
Edward Z. Yang
0ad09e5d94
Commit entity information from the HTML 4.01 spec. This should be parsed into corresponding mapping files, even though they will be versioned.
...
git-svn-id: http://htmlpurifier.org/svnroot/html_purifier/trunk@61 48356398-32a2-884e-a903-53898d9a118a
2006-07-20 22:47:26 +00:00
Edward Z. Yang
dadfa87acc
Update documentation (esp. revamp status)
...
git-svn-id: http://htmlpurifier.org/svnroot/html_purifier/trunk@59 48356398-32a2-884e-a903-53898d9a118a
2006-07-20 00:40:04 +00:00
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