« get me outta code hell

New blog post, tiny tweaks - blog - My blog website - https://florrie.ed1.club
about summary refs log tree commit diff
path: root/build.js
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-09-01 07:37:44 -0300
committerFlorrie <towerofnix@gmail.com>2018-09-01 07:37:44 -0300
commiteb54fe93222caa912b05e75c1d29a653f1e3aa7b (patch)
tree009caf122058c4b7c9cb9ea636a79575a4f4cc1a /build.js
parentb1683f11137811cb32554adca7755ea9319457d4 (diff)
New blog post, tiny tweaks
Diffstat (limited to 'build.js')
-rw-r--r--build.js2
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>)
           `}