We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fa5bd6 commit 2aa1347Copy full SHA for 2aa1347
1 file changed
lib/render-content/renderContent.js
@@ -66,6 +66,10 @@ module.exports = async function renderContent (
66
.trim()
67
}
68
69
+ if (options.cheerioObject) {
70
+ return cheerio.load(html, { xmlMode: true })
71
+ }
72
+
73
if (options.encodeEntities) html = entities.encode(html)
74
75
return html.trim()
0 commit comments