mirror of
https://github.com/discourse/discourse.git
synced 2025-02-23 05:38:38 +08:00

This commit fixes a bug where we our `HTMLScrubber` was only searching for emoji img tags which contains only the "emoji" class. However, our emoji image tags may contain more than just the "emoji" class like "only-emoji" when an emoji exists by itself on a single line.