liquid_feedback_frontend

diff static/wysihtml/wysihtml_liquidfeedback_rules.js @ 1309:32cc544d5a5b

Cumulative patch for upcoming frontend version 4
author bsw/jbe
date Sun Jul 15 14:07:29 2018 +0200 (2018-07-15)
parents
children 71916d0badca
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/static/wysihtml/wysihtml_liquidfeedback_rules.js	Sun Jul 15 14:07:29 2018 +0200
     1.3 @@ -0,0 +1,24 @@
     1.4 +var wysihtmlParserRules = {
     1.5 +  tags: {
     1.6 +    b:      {},
     1.7 +    i:      {},
     1.8 +    br:     {},
     1.9 +    p:      {},
    1.10 +    ul:     {},
    1.11 +    ol:     {},
    1.12 +    li:     {},
    1.13 +    a:      {
    1.14 +      check_attributes: {
    1.15 +        href:   "url" // important to avoid XSS
    1.16 +      }
    1.17 +    },
    1.18 +    h1: {},
    1.19 +    h2: {},
    1.20 +    h3: {},
    1.21 +    h4: {},
    1.22 +    h5: {},
    1.23 +    h6: {},
    1.24 +    sup: {},
    1.25 +    sub: {}
    1.26 +  }
    1.27 +};

Impressum / About Us