Remove <marquee> tags from text used by filters / thread excerpts.

This commit is contained in:
ccd0 2014-12-25 12:13:55 -08:00
parent a57f7950f0
commit 185b0b5234

View File

@ -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