1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-01 11:50:28 +02:00

[1.2.0] Implement primitive email regexp to be used for mailto. There are many spotty implementation issues, so this code is not actually called anywhere else currently.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@517 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2006-11-08 03:10:43 +00:00
parent e1b29d7c25
commit d2fd193bc4
6 changed files with 91 additions and 4 deletions

View File

@@ -20,10 +20,7 @@ class HTMLPurifier_AttrDef
var $minimized = false;
/**
* Abstract function defined for functions that validate and clean strings.
*
* This function forms the basis for all the subclasses: they must
* define this method.
* Validates and cleans passed string according to a definition.
*
* @public
* @param $string String to be validated and cleaned.