From 494a222c6040460865b4b75aaee581317ffbf632 Mon Sep 17 00:00:00 2001 From: tycrek Date: Fri, 5 Jun 2020 08:34:26 -0600 Subject: [PATCH] Fix wiki regex for Updated timestamp --- _wiki.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_wiki.js b/_wiki.js index 34ffab2..52cb1ec 100644 --- a/_wiki.js +++ b/_wiki.js @@ -110,7 +110,7 @@ function putWiki(endpoint, lastId, token) { */ function fixContent(content) { // Fix updated timestamp - content = content.replace(/\!\[Updated\](.*?)\r\n/g, `#### Updated: ${moment().format('MMMM Do YYYY')}`); + content = content.replace(/\!\[Updated\](.*?)square\)/g, `#### Updated: ${moment().format('MMMM Do YYYY')}`); // Fix published timestamps content = content.replace(/\!\[Published\]\(https\:\/\/img\.shields\.io\/badge\//g, '**');