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: ->
|
parseQuotes: ->
|
||||||
@quotes = []
|
@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
|
@parseQuote quotelink
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user