Changes between Version 3 and Version 4 of Ticket #3402


Ignore:
Timestamp:
12/22/2015 12:57:20 PM (4 years ago)
Author:
kzar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3402 – Description

    v3 v4  
    22Our CMS allows some inline HTML tags (`a`, `em`, `sup`, `strong`, `code`, `span`) inside of translatable strings, they can even be nested. 
    33 
    4 Unfortunately nesting appears to be broken depending on the order of the tags. For example either `<em><sup>example</sup></em>` or `<sup><em>example</em></sup>` will work but not both. For one the outer tags will be HTML escaped. (To make matters worse the whitelisted tags are stored inside an unordered dictionary, so we can't even be sure of ''which'' of the two will work!) 
     4Unfortunately nesting appears to be broken depending on the order of the tags. For example either `<em><sup>example</sup></em>` or `<sup><em>example</em></sup>` will work but not both. For one the outer tags will be HTML escaped. (To make matters worse the whitelisted tags are stored inside an unordered set, so we can't even be sure of ''which'' of the two will work!) 
    55 
    66=== What to change ===