Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

The tool now reads values from <meta> elements, as per section 5.2.4 …

…of the spec.
  • Loading branch information...
commit 15f8cdc939df6d9598038225ec1ca797ac98ac82 1 parent 198c455
@steveluscher steveluscher authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 jquery.microdata.js
View
4 jquery.microdata.js
@@ -115,7 +115,9 @@
for (i = 0; i < propname.length; i++) {
v = $p.text();
- if ($p.is('a,area,link')) {
+ if ($p.is('meta')) {
+ v = $p.attr('content');
+ } else if ($p.is('a,area,link')) {
v = $p.attr('href');
} else if ($p.is('audio,embed,iframe,img,source,video')) {
v = $p.attr('src');
Please sign in to comment.
Something went wrong with that request. Please try again.