2020-01-03 06:07:29 +00:00
|
|
|
// const twemoji = require('twemoji')
|
|
|
|
|
2019-01-18 20:58:39 +00:00
|
|
|
// ------------------------------------
|
|
|
|
// HTML - Twemoji
|
|
|
|
// ------------------------------------
|
|
|
|
|
|
|
|
module.exports = {
|
2020-01-03 06:07:29 +00:00
|
|
|
init (input, conf) {
|
|
|
|
// TODO: Must limit to text nodes only (exclude code blocks, already processed emojis, etc.)
|
|
|
|
//
|
|
|
|
// return twemoji.parse(input)
|
|
|
|
return input
|
2019-01-18 20:58:39 +00:00
|
|
|
}
|
|
|
|
}
|