diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-12-22 18:01:44 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-12-22 18:01:44 +0000 |
| commit | 3b02a34519fbdfc14248dbcb36d09b7f08315243 (patch) | |
| tree | 898704a844a32e3f0740d701fa9a3d0d1ac7a4f0 /roundcubemail/program | |
| parent | e52cb2626d4e785682241203bd680f2fe476e258 (diff) | |
Allow (escaped) html tags in roundcube special tag attributes
git-svn-id: https://svn.roundcube.net/trunk@5647 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rwxr-xr-x | roundcubemail/program/include/rcube_template.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_template.php b/roundcubemail/program/include/rcube_template.php index f65080373..95f92a587 100755 --- a/roundcubemail/program/include/rcube_template.php +++ b/roundcubemail/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); } |
