thomascube
2011-12-22 6af59315359fca0ede749be10e8e603324e1fcdd
Allow (escaped) html tags in roundcube special tag attributes

1 files modified
2 ■■■ changed files
program/include/rcube_template.php 2 ●●● patch | view | raw | blame | history
program/include/rcube_template.php
@@ -661,7 +661,7 @@
     */
    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);
    }