customembed: don't parse in xmlMode
This fixes an issue where <params> weren't being parsed correctly because they are self-closing HTML5 tags.
This commit is contained in:
parent
c212d32a6e
commit
d1f21573e6
|
@ -11,8 +11,7 @@ function sha256(input) {
|
|||
function filter(input) {
|
||||
var $ = cheerio.load(input, {
|
||||
lowerCaseTags: true,
|
||||
lowerCaseAttributeNames: true,
|
||||
xmlMode: true
|
||||
lowerCaseAttributeNames: true
|
||||
});
|
||||
var meta = getMeta($);
|
||||
var id = "cu:" + sha256(input);
|
||||
|
|
Loading…
Reference in a new issue