fix: html rendering order param + decodeEntities
This commit is contained in:
@@ -5,4 +5,6 @@ author: requarks.io
|
||||
icon: mdi-emoticon-happy-outline
|
||||
enabledDefault: true
|
||||
dependsOn: htmlCore
|
||||
step: post
|
||||
order: 10
|
||||
props: {}
|
||||
|
@@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user