This commit is contained in:
Daniel Odendahl Jr
2019-02-21 18:24:57 +00:00
parent a793bd9318
commit 26dd707fa4
+1 -1
View File
@@ -50,6 +50,6 @@ module.exports = class NASACommand extends Command {
return text
.replace(/<\/?b>/g, '**')
.replace(/<\/?i>/g, '*')
.replace(/<a href="https?:\/\/([^ ]+)" rel="nofollow">([^<>]+)<\/a>/g, '[$2]($1)');
.replace(/<a href="(https?:\/\/[^ ]+)" rel="nofollow">([^<>]+)<\/a>/g, '[$2]($1)');
}
};