Fix HTML parsing when body is included in the select tag

Fixes #3079
This commit is contained in:
Nick O'Leary
2021-07-23 10:09:00 +01:00
parent 6e69cfbca4
commit c5892fc17e
2 changed files with 4 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ module.exports = function(RED) {
var tag = node.tag;
if (msg.hasOwnProperty("select")) { tag = node.tag || msg.select; }
try {
var $ = cheerio.load(value,null,false);
var $ = cheerio.load(value);
var pay = [];
var count = 0;
$(tag).each(function() {