Status: Accepted
Owner: [email protected]
Labels: Type-Enhancement Priority-Medium Component-Sanitizer

New issue 1950 by [email protected]: Whitelist itemtype, itemid for microdata
https://code.google.com/p/google-caja/issues/detail?id=1950

User request for support for "microdata" attributes:
https://groups.google.com/forum/#!topic/google-caja-discuss/rNSAroM9MIU

Example markup I generated using the tool at <https://www.google.com/webmasters/markup-helper/>:

<!-- Microdata markup added by Google Structured Data Markup Helper. -->
<html><head></head><body>
<span itemscope itemtype="http://schema.org/Article";><p itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating";>Testing
<span itemprop="ratingValue">123</span></p></span></body></html>

Currently, "itemtype" and "itemid" are not whitelisted; they were not included in the original HTML5-whitelisting pass because they have URI values but should not be rewritten by the URI policy (since they're URIs-as-global-names).

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to