diff options
author | thomascube <thomas@roundcube.net> | 2011-12-22 18:01:44 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-12-22 18:01:44 +0000 |
commit | 6af59315359fca0ede749be10e8e603324e1fcdd (patch) | |
tree | 567846cceb896bdb687227c855a7eb4d1c890d0c /program/include/rcube_template.php | |
parent | 68e13c45d396744a7e848d1a82830b7fd408863a (diff) |
Allow (escaped) html tags in roundcube special tag attributes
Diffstat (limited to 'program/include/rcube_template.php')
-rwxr-xr-x | program/include/rcube_template.php | 2 |
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); } |