Fix ampersands in plan text Closes #4799

This commit is contained in:
Mike Jolley 2014-02-14 15:37:25 +00:00
parent 081e1dc583
commit 97dd163c5e
1 changed files with 5 additions and 1 deletions

View File

@ -81,7 +81,9 @@ abstract class WC_Email extends WC_Settings_API {
'/&(apos|rsquo|lsquo|#8216|#8217);/i', // Single quotes
'/>/i', // Greater-than
'/</i', // Less-than
'/&(amp|#38);/i', // Ampersand
'/&/i', // Ampersand
'/&/i', // Ampersand
'/&/i', // Ampersand
'/&(copy|#169);/i', // Copyright
'/&(trade|#8482|#153);/i', // Trademark
'/&(reg|#174);/i', // Registered
@ -110,6 +112,8 @@ abstract class WC_Email extends WC_Settings_API {
'>',
'<',
'&',
'&',
'&',
'(c)',
'(tm)',
'(R)',