Permalink
Browse files

Merge pull request #10 from steveluscher/master

<meta> tags
  • Loading branch information...
KrofDrakula committed Mar 7, 2012
2 parents 198c455 + 15f8cdc commit 532fa04f94ed08e669a321d82a371e061894665e
Showing with 3 additions and 1 deletion.
  1. +3 −1 jquery.microdata.js
View
@@ -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');

0 comments on commit 532fa04

Please sign in to comment.