discourse/lib/email
Martin Brennan 9513e7be6d
FIX: Email hashtag-cooked text replacement error (#19278)
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.
2022-12-01 19:48:24 +10:00
..
authentication_results.rb
build_email_helper.rb
cleaner.rb
message_builder.rb FEATURE: Log the SMTP response in EmailLog (#17056) 2022-06-15 10:28:30 +10:00
message_id_service.rb FEATURE: Overhaul email threading (#17996) 2022-09-26 09:14:24 +10:00
processor.rb FEATURE: Limit maximum recipients for group emails (#17971) 2022-08-18 18:18:58 +03:00
receiver.rb FEATURE: Overhaul email threading (#17996) 2022-09-26 09:14:24 +10:00
renderer.rb
sender.rb DEV: Rename secure_media to secure_uploads (#18376) 2022-09-29 09:24:33 +10:00
styles.rb FIX: Email hashtag-cooked text replacement error (#19278) 2022-12-01 19:48:24 +10:00
validator.rb FIX: Parse address lists in embedded emails (#14514) 2021-10-06 15:07:29 +03:00