From 37f0872f886a3c9c2538d233ea47e8c94d308aa4 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Mon, 22 Dec 2014 19:28:55 -0800 Subject: [PATCH] Ignore /pol/ fakedoubles in HTML building test. --- src/General/lib/post.class | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/General/lib/post.class b/src/General/lib/post.class index 1a6777c6e..cb9a1556b 100755 --- a/src/General/lib/post.class +++ b/src/General/lib/post.class @@ -19,6 +19,9 @@ class Post Fourchan.code.call nodes: comment: $ '.postMessage', root2 for el in $$ 'pre[style=""]', root2 el.removeAttribute 'style' + # XXX /pol/ fakedoubles + if board.ID is 'pol' + $('a[title="Reply to this post"]', root2).textContent = +root2.id[2..] textNodes = $.X './/text()', root2 i = 0 while node = textNodes.snapshotItem i++