diff --git a/src/General/lib/post.class b/src/General/lib/post.class index 13b67b4a3..1a6777c6e 100755 --- a/src/General/lib/post.class +++ b/src/General/lib/post.class @@ -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'