Allow (escaped) html tags in roundcube special tag attributes

pull/1/head
thomascube 13 years ago
parent 68e13c45d3
commit 6af5931535

@ -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);
}

Loading…
Cancel
Save