• Romain Courteaud's avatar
    erp5_core: add a html viewer gadget · e0eed9a0
    Romain Courteaud authored
    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.
    e0eed9a0
gadget_html_viewer.js.js 5.25 KB