Use lxml.html.clean.Cleaner for safe HTML transforms?
Tom Gross <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Plone developers I did a little experiment using lxml cleaner for safe HTML transformation in PortalTransforms [1]. It looks very promising (fast and clean!) so far but some tests are failing [2]. For me most of the test fixtures seem trivial to me but I wanted to make sure that this is acceptable and this is what we want in Plone 5 before I go on fixing them. Cheers Tom [1] https://github.com/plone/Products.PortalTransforms/tree/tomgross-nocmfdefault [2] https://gist.github.com/tomgross/d059653bfe3948521d8f ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk