Commit fbef8a09 authored by Tristan Cavelier's avatar Tristan Cavelier

erp5_core: XXX safe html

+class_blacklist:
 default_encoding: utf-8
 disable_transform: 0
 inputs: text/html
 nasty_tags:
   applet: 1
   embed: 1
+  meta: 1
   object: 1
   script: 1
+  style: 1
 output: text/x-safe-html
 remove_javascript: 1
+stripped_attributes:
+  lang
+  valign
+  halign
+  border
+  frame
+  rules
+  cellspacing
+  cellpadding
+  bgcolor
+stripped_combinations:
+  table th td:width height
+style_whitelist:
+  text-align
+  list-style-type
+  float
 valid_tags:
   a: 1
   abbr: 1
   acronym: 1
   address: 1
-  area: 1
+  area: 0
   article: 1
+  aside: 1
   audio: 1
   b: 1
   base: 0
   bdo: 1
   big: 1
   blockquote: 1
   body: 1
   br: 0
+  canvas: 1
   caption: 1
   cite: 1
   code: 1
   col: 1
   colgroup: 1
+  command: 1
+  datalist: 1
   dd: 1
   del: 1
   details: 1
   dfn: 1
   dialog: 1
   div: 1
   dl: 1
   dt: 1
   em: 1
+  figure: 1
   font: 1
   footer: 1
   h1: 1
   h2: 1
   h3: 1
   h4: 1
   h5: 1
   h6: 1
   head: 1
   header: 1
+  hgroup: 1
   hr: 0
   html: 1
   i: 1
   img: 0
   ins: 1
   kbd: 1
   keygen: 1
   li: 1
   map: 1
   mark: 1
   meta: 0
+  meter: 1
+  nav: 1
   ol: 1
+  output: 1
   p: 1
   pre: 1
   progress: 1
   q: 1
+  rp: 1
+  rt: 1
+  ruby: 1
   samp: 1
   section: 1
   small: 1
+  source: 1
   span: 1
   strong: 1
   sub: 1
-  summary: 1
   sup: 1
   table: 1
   tbody: 1
   td: 1
+  tfoot: 1
   th: 1
   thead: 1
+  time: 1
   title: 1
   tr: 1
   tt: 1
   u: 1
   ul: 1
   var: 1
   video: 1
parent c0e132ce
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment