repo sync (#4236)
This commit is contained in:
@@ -66,6 +66,10 @@ module.exports = async function renderContent (
|
||||
.trim()
|
||||
}
|
||||
|
||||
if (options.cheerioObject) {
|
||||
return cheerio.load(html, { xmlMode: true })
|
||||
}
|
||||
|
||||
if (options.encodeEntities) html = entities.encode(html)
|
||||
|
||||
return html.trim()
|
||||
|
||||
Reference in New Issue
Block a user