From 6a710cbf0ebf0e4ed2a91252edeab109efa9f109 Mon Sep 17 00:00:00 2001 From: Mayhem Date: Wed, 18 Sep 2013 00:30:13 +0200 Subject: [PATCH] Fix quotifying link hrefs in certain cases. That's a 5 months old bug that didn't seem to affect anyone... --- src/Quotelinks/Quotify.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Quotelinks/Quotify.coffee b/src/Quotelinks/Quotify.coffee index 2e8ef7e10..d58923487 100644 --- a/src/Quotelinks/Quotify.coffee +++ b/src/Quotelinks/Quotify.coffee @@ -41,13 +41,13 @@ Quotify = # Don't (Dead) when quotifying in an archived post, # and we know the post still exists. a = $.el 'a', - href: "/#{boardID}/#{post.thread}/res/#p#{postID}" + href: "/#{boardID}/res/#{post.thread}#p#{postID}" className: 'quotelink' textContent: quote else # Replace the .deadlink span if we can redirect. a = $.el 'a', - href: "/#{boardID}/#{post.thread}/res/#p#{postID}" + href: "/#{boardID}/res/#{post.thread}#p#{postID}" className: 'quotelink deadlink' target: '_blank' textContent: "#{quote}\u00A0(Dead)"