Ignore randomized spoilers in HTML building test.
This commit is contained in:
parent
f104e39a87
commit
f095feeb03
@ -15,6 +15,7 @@ class Post
|
||||
el.removeAttribute 'rel'
|
||||
for el in $$ 'img[src]', root2
|
||||
el.src = el.src.replace /^(\w+:\/\/)[0-2](\.t\.4cdn\.org\/)/, '$10$2'
|
||||
el.src = el.src.replace /(spoiler-\w+)\d(\.png)$/, '$11$2'
|
||||
Fourchan.code.call nodes: comment: $ '.postMessage', root2
|
||||
for el in $$ 'pre[style=""]', root2
|
||||
el.removeAttribute 'style'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user