Mail - fix extra newlines added when switching email from HTML to text

This commit is contained in:
nathangray 2019-08-02 11:50:52 -06:00
parent 1131d07199
commit 91f85186cd

View File

@ -311,7 +311,7 @@ class Html
4 => '~<li[^>]*>\r*\n*~si', 4 => '~<li[^>]*>\r*\n*~si',
5 => '~<br[^>]*>\r*\n*~si', 5 => '~<br[^>]*>\r*\n*~si',
6 => '~<br[^>]*>~si', 6 => '~<br[^>]*>~si',
7 => '~<p[^>]*>\r*\n*~si', 7 => '~<\/p[^>]*>\r*\n*~si',
8 => '~<div[^>]*>\r*\n*~si', 8 => '~<div[^>]*>\r*\n*~si',
9 => '~<span[^>]*>\r*\n*~si', 9 => '~<span[^>]*>\r*\n*~si',
10 => '~<hr[^>]*>\r*\n*~si', 10 => '~<hr[^>]*>\r*\n*~si',