• Romain Courteaud's avatar
    erp5_core: add a html viewer gadget · 3a1e130b
    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.
    
    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
    3a1e130b
gadget_html_viewer.less.xml 788 Bytes