Commit d7ab0e72 authored by Sean Hammond's avatar Sean Hammond

Check for 'urn:' not 'urn'

parent cd8921a8
...@@ -20,7 +20,7 @@ function extractDocumentMetadata(model) { ...@@ -20,7 +20,7 @@ function extractDocumentMetadata(model) {
var i; var i;
for (i = 0; i < model.document.link.length; i++) { for (i = 0; i < model.document.link.length; i++) {
var link = model.document.link[i]; var link = model.document.link[i];
if (link.href.indexOf('urn') === 0) { if (link.href.indexOf('urn:') === 0) {
continue; continue;
} }
uri = link.href; uri = link.href;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment