fix: html rendering order param + decodeEntities

This commit is contained in:
NGPixel
2020-01-03 01:07:29 -05:00
parent edd11cd73f
commit 0755c538ed
4 changed files with 15 additions and 5 deletions

View File

@@ -5,4 +5,6 @@ author: requarks.io
icon: mdi-emoticon-happy-outline
enabledDefault: true
dependsOn: htmlCore
step: post
order: 10
props: {}

View File

@@ -1,9 +1,14 @@
// const twemoji = require('twemoji')
// ------------------------------------
// HTML - Twemoji
// ------------------------------------
module.exports = {
init ($, conf) {
init (input, conf) {
// TODO: Must limit to text nodes only (exclude code blocks, already processed emojis, etc.)
//
// return twemoji.parse(input)
return input
}
}