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