fix: html rendering order param + decodeEntities
This commit is contained in:
@@ -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