Node.js based forum software built for the modern web
closes #3187
psychobunnyb96018b0f555
diff --git a/public/src/client/search.js b/public/src/client/search.jsindex 027f76ca18..4b6707786e 100644--- a/public/src/client/search.js+++ b/public/src/client/search.js@@ -123,8 +123,11 @@ define('forum/search', ['search', 'autocomplete'], function(searchModule, autoco$('.search-result-text').each(function() {var result = $(this);+var text = result.html().replace(regex, '<strong>$1</strong>');- result.html(text).find('img').addClass('img-responsive');+ result.html(text).find('img').addClass('img-responsive').each(function() {+ $(this).attr('src', $(this).attr('src').replace(/<strong>([\s\S]*?)<\/strong>/gi, '$1'));+ });});} catch(e) {return;