Trim text emails when checking if empty
authorEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 6 Oct 2023 20:57:29 +0000 (09:57 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 6 Oct 2023 20:57:29 +0000 (09:57 +1300)
commit1695297c3e584c74df3efdf19ac28592ec628c17
treec993b8bb0b48b3795ca736be166d1843823140f5
parenta220e7dacd0a4ca68553f3719feeed79fcb3eff3
Trim text emails when checking if empty

I was concerned that inadvertant white space might block the addiiton of a text version.

The unit test showed that to be the case so I added the extra trim
CRM/Utils/Mail.php
tests/phpunit/CRM/Utils/MailTest.php