Support recognizing quotelinks to pages with extensions other than .html.

This commit is contained in:
ccd0 2019-01-22 17:34:53 -08:00
parent 6961850e16
commit 07b4e4adeb

View File

@ -105,12 +105,12 @@ SW.tinyboard =
([^/]+) # boardID
/res/
(\d+) # threadID
\.html#
\.\w+#
(\d+) # postID
$
///
quotelinkHTML:
/<a [^>]*\bhref="[^"]*\/([^\/]+)\/res\/(\d+)\.html#(\d+)"/g
/<a [^>]*\bhref="[^"]*\/([^\/]+)\/res\/(\d+)\.\w+#(\d+)"/g
bgColoredEl: ->
$.el 'div', className: 'post reply'