Skip to content

Commit

Permalink
correct rel parsing results
Browse files Browse the repository at this point in the history
alternate must be a relative url in this case as we have no base.
  • Loading branch information
kevinmarks committed May 27, 2015
1 parent 1375959 commit ff82263
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/microformats-v2/rel=alternate/alternate.json
Expand Up @@ -2,7 +2,7 @@
"items": [],
"rels": {},
"alternates": [{
"url": "http://tantek.com/updates.atom",
"url": "updates.atom",
"type": "application/atom+xml",
"rel": "updates"
}]
Expand Down
2 changes: 1 addition & 1 deletion tests/microformats-v2/rel=license/license.json
@@ -1,4 +1,4 @@
{
"items": [],
"rels": {}
"rels": {'license': ['http://creativecommons.org/licenses/by/2.5/']}
}
2 changes: 1 addition & 1 deletion tests/microformats-v2/rel=nofollow/nofollow.json
@@ -1,4 +1,4 @@
{
"items": [],
"rels": {}
"rels": {'nofollow': ['http://microformats.org/wiki/microformats:copyrights']}
}

0 comments on commit ff82263

Please sign in to comment.