Don't treat internal links as archive links.

This commit is contained in:
ccd0 2016-05-13 23:17:17 -07:00
parent 64d0bd0afd
commit 403b8dcfac

View File

@ -21,6 +21,7 @@ Quotify =
parseArchivelink: (link) ->
return unless (m = link.pathname.match /^\/([^/]+)\/thread\/S?(\d+)\/?$/)
return if link.hostname is 'boards.4chan.org'
boardID = m[1]
threadID = m[2]
postID = link.hash.match(/^#p?(\d+)$|$/)[1] or threadID