return $email;
}
+<<<<<<< HEAD
function common_purify($html, array $args=array())
+=======
+function common_to_alphanumeric($str)
+{
+ $filtered = preg_replace('/[^A-Za-z0-9]\s*/', '', $str);
+ if (strlen($filtered) < 1) {
+ throw new Exception('Filtered string was zero-length.');
+ }
+ return $filtered;
+}
+
+function common_purify($html)
+>>>>>>> upstream/master
{
require_once INSTALLDIR.'/extlib/HTMLPurifier/HTMLPurifier.auto.php';