alecpl
2009-09-30 bf1b66bf1d6eb000938f0080042fce0919976a94
program/steps/mail/func.inc
@@ -734,7 +734,7 @@
  // allow CSS styles, will be sanitized by rcmail_washtml_callback()
  $washer->add_callback('style', 'rcmail_washtml_callback');
  $html = $washer->wash($html);
  $REMOTE_OBJECTS = $washer->extlinks;
  
@@ -892,6 +892,10 @@
{
  $tagname = $matches[2];
  // html comments (#1486189)
  if ($matches[1] == '<!')
    return '<!';
  $tagname = preg_replace(array(
    '/:.*$/',      // Microsoft's Smart Tags <st1:xxxx>
    '/[^a-z0-9_-]/i',   // forbidden characters