אזהרת ספוילרים ל-Discourse

Not sure if this is worth a separate bug report or not, but realized via a chat push notification that the spoiler text isn’t being redacted like it does for everything else – Chat::Message#push_notification_excerpt truncates the raw markdown and will literally output the spoiler as this is a chat notification [spoiler]and this is the spoiler[/spoiler], which kind of defeats the purpose of a spoiler tag, if it outputs the whole spoiler in the notification! :joy: Seems like an oversight as it bypasses spoiler-alert’s :reduce_excerpt completely for a chat message vs a forum post. It otherwise functions just fine in chat! it’s the push notification that’s the problem.