Remove <marquee> tags from text used by filters / thread excerpts.
This commit is contained in:
parent
a57f7950f0
commit
185b0b5234
@ -105,10 +105,11 @@ class Post
|
||||
# 'Comment too long'...
|
||||
# EXIF data. (/p/)
|
||||
# Rolls. (/tg/)
|
||||
# Marquees. (/pol/)
|
||||
# Preceding and following new lines.
|
||||
# Trailing spaces.
|
||||
bq = @nodes.comment.cloneNode true
|
||||
for node in $$ '.abbr, .exif, b', bq
|
||||
for node in $$ '.abbr, .exif, b, marquee', bq
|
||||
$.rm node
|
||||
@info.comment = @nodesToText bq
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user