Skip to content

Node.js based forum software built for the modern web

closes #3194

psychobunny05c519696519
diff --git a/public/src/client/search.js b/public/src/client/search.js
index 4b6707786e..5633884ff5 100644
--- a/public/src/client/search.js
+++ b/public/src/client/search.js
@@ -128,6 +128,10 @@ define('forum/search', ['search', 'autocomplete'], function(searchModule, autoco
result.html(text).find('img').addClass('img-responsive').each(function() {
$(this).attr('src', $(this).attr('src').replace(/<strong>([\s\S]*?)<\/strong>/gi, '$1'));
});
+
+ result.find('a').each(function() {
+ $(this).attr('href', $(this).attr('href').replace(/<strong>([\s\S]*?)<\/strong>/gi, '$1'));
+ });
});
} catch(e) {
return;