mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 21:40:51 +02:00
Replace HTML tags in lyrics
This commit is contained in:
@@ -55,6 +55,8 @@ module.exports = class LyricsCommand extends Command {
|
|||||||
return lyrics
|
return lyrics
|
||||||
.replaceAll('<br>', '')
|
.replaceAll('<br>', '')
|
||||||
.replace(/<\/?div>/g, '')
|
.replace(/<\/?div>/g, '')
|
||||||
|
.replace(/<\/?i>/g, '*')
|
||||||
|
.replace(/<\/?b>/g, '**')
|
||||||
.trim();
|
.trim();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user