|
| 1 | +BLEACH_WHITELIST = { |
| 2 | + 'tags': [ |
| 3 | + 'a', 'abbr', 'acronym', 'b', 'bdo', 'big', 'blockquote', 'br', |
| 4 | + 'center', 'cite', 'code', |
| 5 | + 'dd', 'del', 'dfn', 'div', 'dl', 'dt', 'em', 'embed', 'font', |
| 6 | + 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'ins', |
| 7 | + 'kbd', 'li', 'object', 'ol', 'param', 'pre', 'p', 'q', |
| 8 | + 's', 'samp', 'small', 'span', 'strike', 'strong', 'sub', 'sup', |
| 9 | + 'table', 'tbody', 'td', 'th', 'thead', 'tr', 'tt', 'ul', 'u', |
| 10 | + 'var', 'wbr', |
| 11 | + ], |
| 12 | + 'attributes': [ |
| 13 | + 'align', 'alt', 'border', 'cite', 'class', 'dir', |
| 14 | + 'height', 'href', 'id', 'src', 'style', 'title', 'type', 'width', |
| 15 | + 'face', 'size', # font tags |
| 16 | + 'salign', 'align', 'wmode', 'target', |
| 17 | + ], |
| 18 | + 'styles': [ |
| 19 | + 'top', 'left', 'width', 'height', 'position', |
| 20 | + 'background', 'font-size', 'text-align', 'z-index', |
| 21 | + 'list-style', |
| 22 | + ] |
| 23 | +} |
0 commit comments