mirror of
https://github.com/discourse/discourse.git
synced 2024-12-09 08:23:38 +08:00
d4af30f26d
Not 100% sure why the changes in `PrettyText.format_for_email` raised this issue, but we were missing adding a link to the Discourse instance whenever we are replacing the elided part of a post with a link to either the post or the Discourse instance in the email. Also reformated the specs using better variable names (sometimes a variable named `md` would contain some html) and used the `match_html` helper for all the tests. |
||
---|---|---|
.. | ||
pretty_text_spec.rb |