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

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

von Safat Shahin -
Anzahl Antworten: 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
Anhang 01.png
Anhang 03.png
Als Antwort auf Safat Shahin

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

von Jon Bolton -
Nutzerbild von Particularly helpful Moodlers Nutzerbild von 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.
Als Antwort auf Jon Bolton

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

von 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.