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