From 695fdf9d0f74cb29bc76be6fb49a2e82875bb018 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Thu, 21 Feb 2019 18:17:57 +0000 Subject: [PATCH] Fix --- commands/search/nasa.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/nasa.js b/commands/search/nasa.js index feb79ed2..8385a714 100644 --- a/commands/search/nasa.js +++ b/commands/search/nasa.js @@ -50,6 +50,6 @@ module.exports = class NASACommand extends Command { return text .replace(/<\/?b>/g, '**') .replace(/<\/?i>/g, '*') - .replace(/)?(.+)<\/a>/g, '[$2]($1)'); + .replace(/)?([^<>]+)<\/a>/g, '[$2]($1)'); } };