Osama Sayegh 14bae6d52d Make email_excerpt method take an optional post param (#7570)
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.
2019-05-20 10:04:23 +02:00
..
2018-02-22 15:03:41 +08:00
2019-05-02 16:23:25 +10:00
2016-02-22 18:28:09 +05:30
2018-09-17 09:49:53 +10:00
2017-10-27 09:13:04 +05:30
2019-05-02 16:23:25 +10:00
2018-06-28 10:12:32 +02:00