wikijs-fork/server/modules/rendering/html-twemoji/renderer.js

15 lines
342 B
JavaScript
Raw Normal View History

// const twemoji = require('twemoji')
2019-01-18 20:58:39 +00:00
// ------------------------------------
// HTML - Twemoji
// ------------------------------------
module.exports = {
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
}
}