liquid_feedback_frontend
view static/wysihtml/wysihtml_liquidfeedback_rules.js @ 1553:282c46bccb7a
merge
| author | bsw | 
|---|---|
| date | Wed Oct 28 18:01:52 2020 +0100 (2020-10-28) | 
| parents | 32cc544d5a5b | 
| children | 71916d0badca | 
 line source
     1 var wysihtmlParserRules = {
     2   tags: {
     3     b:      {},
     4     i:      {},
     5     br:     {},
     6     p:      {},
     7     ul:     {},
     8     ol:     {},
     9     li:     {},
    10     a:      {
    11       check_attributes: {
    12         href:   "url" // important to avoid XSS
    13       }
    14     },
    15     h1: {},
    16     h2: {},
    17     h3: {},
    18     h4: {},
    19     h5: {},
    20     h6: {},
    21     sup: {},
    22     sub: {}
    23   }
    24 };
