mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 04:43:39 +08:00
9513e7be6d
In some cases (e.g. user notification emails) we are passing an excerpted/stripped version of the post HTML to Email::Styles, at which point the <span> elements surrounding the hashtag text have been stripped. This caused an error when trying to remove that element to replace the text. Instead we can just remove all elements inside a.hashtag-cooked and replace with the raw #hashtag text which will work in more cases. |
||
---|---|---|
.. | ||
authentication_results_spec.rb | ||
cleaner_spec.rb | ||
email_spec.rb | ||
message_builder_spec.rb | ||
processor_spec.rb | ||
receiver_spec.rb | ||
renderer_spec.rb | ||
sender_spec.rb | ||
styles_spec.rb |