Skip to content

Node.js based forum software built for the modern web

fix tests

Julian Lam6060b8e13b37
diff --git a/public/src/client/topic/images.js b/public/src/client/topic/images.js
index 20981f6b80..52f0671a78 100644
--- a/public/src/client/topic/images.js
+++ b/public/src/client/topic/images.js
@@ -104,7 +104,7 @@ define('forum/topic/images', [
if (src === 'about:blank') {
return;
}
-
+
if (utils.isRelativeUrl(src) && suffixRegex.test(src)) {
src = src.replace(suffixRegex, '$1');
}
@@ -114,8 +114,8 @@ define('forum/topic/images', [
if (!$this.parent().is('a')) {
$this.wrap('<a href="' + src + '" '
- + (!srcExt && altExt ? ' download="' + altFilename + '" ' : '')
- + ' target="_blank" >');
+ + (!srcExt && altExt ? ' download="' + altFilename + '" ' : '')
+ + ' target="_blank" >');
}
});
};