Edward Z. Yang
86ca784da3
Convert all to new configuration get/set format.
...
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
2009-02-21 03:00:34 -05:00
Edward Z. Yang
12b811d749
Add vim modelines to all files.
...
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
2008-12-06 04:24:59 -05:00
Edward Z. Yang
e99520ab96
Remove trailing ?> in PHP library files, add trailing newlines to all other files.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1253 48356398-32a2-884e-a903-53898d9a118a
2007-06-27 13:58:32 +00:00
Edward Z. Yang
b442d09ea6
[1.7.0] Update INSTALL and basic example to use the new APIs.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1120 48356398-32a2-884e-a903-53898d9a118a
2007-05-29 21:31:24 +00:00
Edward Z. Yang
968dfa2feb
[1.6.1] Fix broken configuration directive %Core.RemoveInvalidImg, also make basic demo operational out-of-the-box
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@999 48356398-32a2-884e-a903-53898d9a118a
2007-04-30 00:53:13 +00:00
Edward Z. Yang
2ceccc0969
Moved remotely to website.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@984 48356398-32a2-884e-a903-53898d9a118a
2007-04-22 20:55:52 +00:00
Edward Z. Yang
dcaa374dae
[1.3.3] Random miscellaneous housekeeping
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@636 48356398-32a2-884e-a903-53898d9a118a
2007-01-11 22:37:54 +00:00
Edward Z. Yang
dc0e2c6b3e
Revise character estimate upwards.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@582 48356398-32a2-884e-a903-53898d9a118a
2006-11-25 21:18:20 +00:00
Edward Z. Yang
73a1e31fad
[1.3.0] Added spiffy new smoketest printDefinition.php, which lets you twiddle with the configuration settings and see how the internal rules are affected. (currently only complete for HTMLDefinition).
...
- HTMLPurifier -> HTML Purifier
. HTMLPurifier_Config->getBatch($namespace) added
. More lenient casting to bool from string in HTMLPurifier_ConfigSchema
. <?xml ... tags added to all smoketests
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@578 48356398-32a2-884e-a903-53898d9a118a
2006-11-24 06:26:02 +00:00
Edward Z. Yang
94db380271
[1.3.0] Remove Tidy option from demo if there is not Tidy available
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@563 48356398-32a2-884e-a903-53898d9a118a
2006-11-23 03:49:19 +00:00
Edward Z. Yang
b9e7ba6a2f
[1.3.0] Move valid XHTML 1.0 button link to better spot.
...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@562 48356398-32a2-884e-a903-53898d9a118a
2006-11-23 03:39:55 +00:00
Edward Z. Yang
b1b3377b9c
[1.3.0] Huge upgrade, (X)HTML Strict now supported
...
+ Transparently handles inline elements in block context (blockquote)
! Added GET method to demo for easier validation, added 50kb max input size
! New directive %HTML.BlockWrapper, for block-ifying inline elements
! New directive %HTML.Parent, allows you to only allow inline content
- Added missing type to ChildDef_Chameleon
. ChildDef_Required guards against empty tags
. Lookup table HTMLDefinition->info_flow_elements added
. Added peace-of-mind variable initialization to Strategy_FixNesting
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@560 48356398-32a2-884e-a903-53898d9a118a
2006-11-23 03:23:35 +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
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
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
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
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
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
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
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