1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-07-31 03:10:09 +02:00

[1.7.0] Fix bug in Bool class

- Genericize allElements into basic smoketest, add beginnings of legacy smoketest too.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1113 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2007-05-29 02:12:08 +00:00
parent f985d3cd96
commit 9c5f01a0cf
7 changed files with 207 additions and 32 deletions

View File

@@ -15,7 +15,7 @@ class HTMLPurifier_AttrDef_HTML_Bool extends HTMLPurifier_AttrDef
function validate($string, $config, &$context) {
if (empty($string)) return false;
return $name;
return $this->name;
}
/**