From d7a411f099596cbc8e749e1f0802ac2bb2c6289e Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Tue, 15 Apr 2008 14:34:52 -0400 Subject: [PATCH] #1484391, #1484403 --- program/steps/mail/func.inc | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 205db2f..b75b115 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -1139,7 +1139,8 @@ // add comments arround html and other tags $out = preg_replace(array( - '/(<!DOCTYPE.+)/i', + '/(<!DOCTYPE[^>]*>)/i', + '/(<\?xml[^>]*>)/i', '/(<\/?html[^>]*>)/i', '/(<\/?head[^>]*>)/i', '/(<title[^>]*>.*<\/title>)/Ui', -- Gitblit v1.9.1