From 4afad0df6aa435a50b4323604b16603ec43c7c50 Mon Sep 17 00:00:00 2001 From: Florrie Date: Fri, 12 Jun 2020 16:33:31 -0300 Subject: complete the changelog --- upd8.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'upd8.js') diff --git a/upd8.js b/upd8.js index 99626a47..938e20af 100644 --- a/upd8.js +++ b/upd8.js @@ -125,8 +125,7 @@ const SITE_ABOUT = fixWS` `; -const SITE_CHANGELOG = fixWS` -`; +const SITE_CHANGELOG = fs.readFileSync('changelog.html').toString().trim(); // fight me bro const SITE_FEEDBACK = fixWS`

Feature requests? Noticed any errors? Please let me know! I appreciate feedback a lot, and always want to make this site better.

@@ -1884,6 +1883,10 @@ function rebaseURLs(directory, html) { return html; } return html.replace(/(href|src)="(.*?)"/g, (match, attr, url) => { + if (url.startsWith('#')) { + return `${attr}="${url}"`; + } + try { new URL(url); // no error: it's a full url -- cgit 1.3.0-6-gf8a5