diff options
Diffstat (limited to 'build.js')
-rw-r--r-- | build.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build.js b/build.js index dbd57b9..a6efc7d 100644 --- a/build.js +++ b/build.js @@ -600,7 +600,7 @@ const parsePostText = async (text) => { return fixWS` <div class="art-container"><div> - <a href="static/media/${encodeURIComponent(filename)}.png"><img alt="![${filename.match(/^[0-9]+-(.*)$/)[1]}" src="static/media/${encodeURIComponent(filename)}.png"></a> + <a href="static/media/${encodeURIComponent(filename)}.png"><img alt="${filename.match(/^[0-9]+-(.*)$/)[1]}" src="static/media/${encodeURIComponent(filename)}.png"></a> ${options.noext ? '' : fixWS` <br>(<a href="static/media/${encodeURIComponent(filename)}.${options.ext}">${filename.match(/^[0-9]+-(.*)$/)[1]}.${options.ext}</a>) `} |