Site Full name containing '&' processed as ' & amp; '

Site Full name containing '&' processed as ' & amp; '

by Safat Shahin -
Number of replies: 2

Site full name with & is not processed properly in any email subject. As an example, the new user email will contain the site name as the subject and if the site name includes &, it will process the '&' as '&'

Example: 

Site full name - Electronics '&' spare parts

Email subject while sending the email: Electronics '&' spare parts

P.S. '' and space used to get rid of HTML issue while posting.

First image: The full site name
Second image: Actual Email
Attachment 01.png
Attachment 03.png
Average of ratings: -
In reply to Safat Shahin

Re: Site Full name containing '&' processed as ' & amp; '

by Jon Bolton -
Picture of Particularly helpful Moodlers Picture of Testers
It’s maybe something to do with UTF encoding, but regardless, please think about NOT using the ampersand - change it to ‘and’ for accessibility reasons. Screen readers and other accessibility devices have a difficult time recognising the ampersand.
Average of ratings: Useful (1)
In reply to Jon Bolton

Re: Site Full name containing '&' processed as ' & amp; '

by Safat Shahin -
thank you for your information jon, actually there are some sitenames for organisations which have their org name registered that way and they want the name to be displayed the same way in the email.
Looks like there should be a fix from the code itself.