mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:13:38 +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.rb | ||
build_email_helper.rb | ||
cleaner.rb | ||
message_builder.rb | ||
message_id_service.rb | ||
processor.rb | ||
receiver.rb | ||
renderer.rb | ||
sender.rb | ||
styles.rb | ||
validator.rb |