On 02/11/2011 11:40 AM, Bey Youcef wrote:
In the overall architecture in which layer the purifier has been used?
Three places I know of are: * when you edit a page in WYSIWYG edit mode the HTML output of the editor is cleaned before it is converted to wiki syntax * when you import an office document the HTML produced by the OpenOffice server is cleaned before it is converted to wiki syntax * when you use the {{html}} macro, the macro content is cleaned by default, one of the reasons being that the WYSIWYG content editor requires valid HTML as input. Hope this helps, Marius
Thanks so much.
Best regards
On Thu, Feb 10, 2011 at 6:18 PM, Sergiu Dumitriu<[email protected]> wrote:
On 02/10/2011 04:12 PM, Bey Youcef wrote:
Hello all,
I would like to know whether XWiki is using any HTML filter for purifying generated HTML.
JTidy seems old and not maintained...
JTidy is used only during the PDF export, when the HTML is supposedly already clean from the rendering engine, since XSLT and FOP expect well-formed XML content.
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs