mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 03:48:23 +00:00
In 1bd8a075, a hidden site setting was added that causes Email::Styles to treat its input as a complete document in all cases. This commit enables that setting by default. Some tests were removed that were broken by this change. They tested the behaviour of applying email styles to empty strings. They weren't useful because: * Sending empty email is not something we ever intend to do, * They were testing incidental behaviour - there are lots of valid ways to process the empty string, * Their intent wasn't clear from their descriptions,