Skip to content Skip to sidebar Skip to footer

Google Caja: Sample Html4 Def File?

I'm trying to implement this Introduction Tutorial to sanitize HTML using Caja's JSHtmlSanitizer. I'm getting a reference is not defined error at line 1056 in html-sanitizer.js be

Solution 1:

The HTML defs file is built from the schema JSON by Caja's build system. The minimum build operation is:

$ ant pluginc

which will leave the built file at ant-lib/com/google/caja/plugin/html4-defs.js.

Post a Comment for "Google Caja: Sample Html4 Def File?"