update domain in click to refresh message
[namibia] / public / js / vendor / wysihtml-simple.js
1 /**
2  * Very simple basic rule set
3  *
4  * Allows
5  *    <i>, <em>, <b>, <strong>, <p>, <div>, <a href="http://foo"></a>, <br>, <span>, <ol>, <ul>, <li>
6  *
7  * For a proper documentation of the format check advanced.js
8  */
9 var wysihtml5ParserRules = {
10   tags: {
11     strong: {},
12     b:      {},
13     i:      {},
14     em:     {},
15     br:     {},
16     p:      {},
17     div:    {},
18     span:   {},
19     ul:     {},
20     ol:     {},
21     li:     {},
22     a:      {
23       set_attributes: {
24         target: "_blank",
25         rel:    "nofollow"
26       },
27       check_attributes: {
28         href:   "url" // important to avoid XSS
29       }
30     }
31   }
32 };