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'...
|
# 'Comment too long'...
|
||||||
# EXIF data. (/p/)
|
# EXIF data. (/p/)
|
||||||
# Rolls. (/tg/)
|
# Rolls. (/tg/)
|
||||||
|
# Marquees. (/pol/)
|
||||||
# Preceding and following new lines.
|
# Preceding and following new lines.
|
||||||
# Trailing spaces.
|
# Trailing spaces.
|
||||||
bq = @nodes.comment.cloneNode true
|
bq = @nodes.comment.cloneNode true
|
||||||
for node in $$ '.abbr, .exif, b', bq
|
for node in $$ '.abbr, .exif, b, marquee', bq
|
||||||
$.rm node
|
$.rm node
|
||||||
@info.comment = @nodesToText bq
|
@info.comment = @nodesToText bq
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user