Changeset 6af5931 in github


Ignore:
Timestamp:
Dec 22, 2011 1:01:44 PM (17 months ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
Children:
3e7b1c0
Parents:
68e13c4
Message:

Allow (escaped) html tags in roundcube special tag attributes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_template.php

    rf94e442 r6af5931  
    662662    private function parse_xml($input) 
    663663    { 
    664         return preg_replace_callback('/<roundcube:([-_a-z]+)\s+([^>]+)>/Ui', array($this, 'xml_command'), $input); 
     664        return preg_replace_callback('/<roundcube:([-_a-z]+)\s+((?:[^>]|\\\\>)+)(?<!\\\\)>/Ui', array($this, 'xml_command'), $input); 
    665665    } 
    666666 
Note: See TracChangeset for help on using the changeset viewer.