mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 00:06:42 +02:00
Fix anilist em tag
This commit is contained in:
+1
-1
@@ -292,7 +292,7 @@ module.exports = class Util {
|
||||
clean = decodeHTML(clean);
|
||||
clean = clean
|
||||
.replaceAll('<br>', '\n')
|
||||
.replace(/<\/?i>/g, '*')
|
||||
.replace(/<\/?(i|em)>/g, '*')
|
||||
.replace(/<\/?b>/g, '**')
|
||||
.replace(/~!|!~/g, '||');
|
||||
if (clean.length > 2000) clean = `${clean.substr(0, 1995)}...`;
|
||||
|
||||
Reference in New Issue
Block a user