mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06:00
14bae6d52d
The spoiler alert plugin replaces spoiler text found in email excerpts with posts URL, which means it needs to have a reference to the post it's processing. This change makes `email_excerpt` accepts an optional post param, which calls `PrettyText.format_for_email` which then triggers the `reduce_cooked` event that the plugin subscribes to. |
||
---|---|---|
.. | ||
admin_confirmation_mailer.rb | ||
download_backup_mailer.rb | ||
invite_mailer.rb | ||
rejection_mailer.rb | ||
subscription_mailer.rb | ||
test_mailer.rb | ||
user_notifications.rb | ||
version_mailer.rb |