From 4f7aa85f222a49cdbf0baf1e5a9920d51f4fd3ac Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 27 Aug 2009 05:52:52 -0400
Subject: [PATCH] - remove all html tag attribs (#1486003)
---
program/steps/mail/func.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 87f7bc4..f6e4a9d 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -676,7 +676,7 @@
'/(<\/nobr>)(\s+)(<nobr>)/i', // space(s) between <NOBR>
'/<title>.*<\/title>/i', // PHP bug #32547 workaround: remove title tag
'/^(\0\0\xFE\xFF|\xFF\xFE\0\0|\xFE\xFF|\xFF\xFE|\xEF\xBB\xBF)/', // byte-order mark (only outlook?)
- '/<html\sxmlns:[a-z]=[^>]+>/i', // washtml/DOMDocument cannot handle xml namespaces
+ '/<html\s[^>]+>/i', // washtml/DOMDocument cannot handle xml namespaces
);
$html_replace = array(
'\\1'.' '.'\\3',
--
Gitblit v1.9.1