mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 00:12:32 +02:00
Fix
This commit is contained in:
@@ -50,6 +50,6 @@ module.exports = class NASACommand extends Command {
|
|||||||
return text
|
return text
|
||||||
.replace(/<\/?b>/g, '**')
|
.replace(/<\/?b>/g, '**')
|
||||||
.replace(/<\/?i>/g, '*')
|
.replace(/<\/?i>/g, '*')
|
||||||
.replace(/<a href="(.+)"(?: rel="nofollow">)?(.+)<\/a>/g, '[$2]($1)');
|
.replace(/<a href="(.+)"(?: rel="nofollow">)?([^<>]+)<\/a>/g, '[$2]($1)');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user