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 because the variable html4 is undefined. I believe this is a definition file. Where can I can get a sample of this definition file? I think I found a very old def file that dates back in 2008 and it's no longer in the latest version of the repo. 回答1: The HTML defs file is built from the schema JSON by Caja's build