From 86958f70d2970704e9ec6935d65e294c077143ea Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sun, 18 Mar 2007 14:46:03 -0400
Subject: [PATCH] Improved contacts drop down; HTML output improvements; JS code cleanup

---
 program/steps/mail/func.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 606c977..be9558f 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -1248,6 +1248,9 @@
                             '</div>'),
                       $out);
 
+  // quote <? of php and xml files that are specified as text/html
+  $out = preg_replace(array('/<\?/', '/\?>/'), array('&lt;?', '?&gt;'), $out);
+
   return $out;
   }
 

--
Gitblit v1.9.1