1 parent f67fd8c commit 93ae71bCopy full SHA for 93ae71b
1 file changed
src/core/parse.ts
@@ -127,8 +127,8 @@ function parse(data: ResponseBody) {
127
if (data[7]?.[0]) {
128
let string_ = data[7][0];
129
130
- string_ = string_.replace(/<b><i>/g, '[');
131
- string_ = string_.replace(/<\/i><\/b>/g, ']');
+ string_ = string_.replace(/<b><i>|<b>|<i>|<em>/g, '[');
+ string_ = string_.replace(/<\/i><\/b>|<\/i>|<\/b>|<\/em>/g, ']');
132
133
result.from.text.value = string_;
134
0 commit comments