From 07b4e4adeb606a070afba6958a3aa8f3338d593d Mon Sep 17 00:00:00 2001 From: ccd0 Date: Tue, 22 Jan 2019 17:34:53 -0800 Subject: [PATCH] Support recognizing quotelinks to pages with extensions other than .html. --- src/site/SW.tinyboard.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/site/SW.tinyboard.coffee b/src/site/SW.tinyboard.coffee index 0c6fb56a6..78f03b1ef 100644 --- a/src/site/SW.tinyboard.coffee +++ b/src/site/SW.tinyboard.coffee @@ -105,12 +105,12 @@ SW.tinyboard = ([^/]+) # boardID /res/ (\d+) # threadID - \.html# + \.\w+# (\d+) # postID $ /// quotelinkHTML: - /]*\bhref="[^"]*\/([^\/]+)\/res\/(\d+)\.html#(\d+)"/g + /]*\bhref="[^"]*\/([^\/]+)\/res\/(\d+)\.\w+#(\d+)"/g bgColoredEl: -> $.el 'div', className: 'post reply'