mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2025-01-18 11:32:56 +09:00
より良い方法が思いつくまで<i>で代用
This commit is contained in:
parent
6f340194a3
commit
b144975365
@ -1,6 +1,6 @@
|
||||
const riot = require('riot');
|
||||
const nyaize = require('nyaize').default;
|
||||
const emojinize = require('emojinize');
|
||||
//const emojinize = require('emojinize');
|
||||
const CONFIG = require('./config');
|
||||
|
||||
const escape = text =>
|
||||
@ -33,7 +33,8 @@ module.exports = (tokens, shouldBreak) => {
|
||||
case 'inline-code':
|
||||
return '<code>' + token.html + '</code>';
|
||||
case 'emoji':
|
||||
return emojinize.encode(token.content)
|
||||
return '<i>' + token.content + '</i>';
|
||||
//return emojinize.encode(token.content)
|
||||
}
|
||||
}).join('');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user