diff --git a/lib/microdataToRdf.js b/lib/microdataToRdf.js index 95fa7d1..aa61990 100644 --- a/lib/microdataToRdf.js +++ b/lib/microdataToRdf.js @@ -12,7 +12,8 @@ function microdataToRdf (html, config) { var registry = config.registry; var dom = microdataDom(htmlparser.parseDOM(html, { - decodeEntities: true + decodeEntities: true, + recognizeSelfClosing: true }), config); var nextId = 0;