Website freely created in Google Sites is not allowing me to add microdata in it. In HTML editor view, I edited and added itemscope
, itemtype
and itemprop
. But once I saved and opened again the HTML editor, those disappeared. Why isn’t Google Sites editor allowing me to add micro data?
-
As it stands, your question should be directed to Google as a feature request. If you think there is a way to add microdata, but you can't find out how to do it, you should rephrase your question accordingly.– Vidar S. RamdalNov 28, 2013 at 10:49
-
modified the title– rashokNov 28, 2013 at 12:31
1 Answer
Google Caja
The HTML you're adding is sanitized by the Google Caja Compiler. It will check the embedded code for malicious code, and remove the parts that don't fit.
References
-
-
@rajaashok To be honest, I don't even know what microdata is. But since it belongs to HTML5, it will probably be sanitized by the Caja compiler, unless it's being released as safe. Dec 7, 2013 at 8:56