concrete5/concrete5 — pull request #1751 by akodde (2014-04-17 12:46:59+00:00)
Title: Add getBodyAsText function and use it for Logs

This prevents an empty body in the Logs if developers only use HTML templates in their mails.

If plain text is available, it will be used.
If plain text is not available, the HTML will be stripped and used.