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
|
f8eaedb500
|
Factor out definitions to a ['child'] so that we could assign the ['attr'] definitions separately.
Also, added AttrDef/EnumTest.php
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@127 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-30 00:54:38 +00:00 |
|
Edward Z. Yang
|
9b7ad89ab5
|
- Added Composite and Core strategies.
- Added generate_mock() function for testing
- Factored out inputs/output tests to StrategyAbstractTest
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@124 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-29 17:38:28 +00:00 |
|
Edward Z. Yang
|
619d5d9bc1
|
Migrate strategies to separate classes complete.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@119 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-24 02:49:37 +00:00 |
|
Edward Z. Yang
|
d98f1742ec
|
Extract FixNesting strategy from Definition object.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@113 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-24 01:54:25 +00:00 |
|
Edward Z. Yang
|
2e6a5c10b3
|
Add in a missing include. I'm seeing duplication...
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@112 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-24 01:50:41 +00:00 |
|
Edward Z. Yang
|
4b8a206417
|
Extract RemoveForeignElements strategy from Definition object.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@111 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-24 01:50:02 +00:00 |
|
Edward Z. Yang
|
b251c4ed86
|
Extract MakeWellFormed strategy from Definition object.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@108 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-23 23:29:12 +00:00 |
|