summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-12-22 18:01:44 +0000
committerthomascube <thomas@roundcube.net>2011-12-22 18:01:44 +0000
commit6af59315359fca0ede749be10e8e603324e1fcdd (patch)
tree567846cceb896bdb687227c855a7eb4d1c890d0c
parent68e13c45d396744a7e848d1a82830b7fd408863a (diff)
Allow (escaped) html tags in roundcube special tag attributes
-rwxr-xr-xprogram/include/rcube_template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php
index f65080373..95f92a587 100755
--- a/program/include/rcube_template.php
+++ b/program/include/rcube_template.php
@@ -661,7 +661,7 @@ class rcube_template extends rcube_html_page
*/
private function parse_xml($input)
{
- return preg_replace_callback('/<roundcube:([-_a-z]+)\s+([^>]+)>/Ui', array($this, 'xml_command'), $input);
+ return preg_replace_callback('/<roundcube:([-_a-z]+)\s+((?:[^>]|\\\\>)+)(?<!\\\\)>/Ui', array($this, 'xml_command'), $input);
}