mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
This is a hacky fix to avoid spoiler content leaking in emails. The general idea here is to tell people to open Zulip to view the actual message in full. We create a mini-markdown parser here that strips away the fence content that has the 'spoiler' tag for the text emails. Our handling of html emails is much better in comparison where we can use lxml to parse the spoiler blocks.
28 KiB
28 KiB