erp5_core: add a html viewer gadget
This gadget take an HTML string as parameter. It first cleans it up (with hardcoded behaviour currently) by dropping unknown tag elements, unknown/unsafe tag attributes. It is another protection layer on top of asStrippedHTML inside ERP5. Then, it displays the output HTML and style it with an hardcoded set of rules. erp5_core: viewer add css erp5_core: cleanup the HTML erp5_core: html viewer do not keep the body element erp5_core: HARDCODED html viewer css example erp5_core: viewer css erp5_core: html viewer define the interface erp5_core: html viewer css erp5_core: viewer ensure to return a dom element
Showing
Please register or sign in to comment