diff --git a/src/util/cheerio.ts b/src/util/cheerio.ts index 2995f69..33faf15 100644 --- a/src/util/cheerio.ts +++ b/src/util/cheerio.ts @@ -1,5 +1,5 @@ import { CheerioAPI, load } from 'cheerio'; export function loadHtml(html: string): CheerioAPI { - return load(html, { xmlMode: true, decodeEntities: false }, false); + return load(html, { xml: { decodeEntities: false, lowerCaseAttributeNames: false } }, false); }