ignore quote links inside [code] tags; they shoudn't be there and cause bugs
This commit is contained in:
parent
85d614bb4b
commit
0d648f3b85
@ -114,7 +114,9 @@ class Post
|
||||
|
||||
parseQuotes: ->
|
||||
@quotes = []
|
||||
for quotelink in $$ '.quotelink', @nodes.comment
|
||||
# XXX https://github.com/4chan/4chan-JS/issues/77
|
||||
# 4chan currently creates quote links inside [code] tags; ignore them
|
||||
for quotelink in $$ ':not(pre) > .quotelink', @nodes.comment
|
||||
@parseQuote quotelink
|
||||
return
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user