Fix ampersands in plan text Closes #4799
This commit is contained in:
parent
081e1dc583
commit
97dd163c5e
|
@ -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)',
|
||||
|
|
Loading…
Reference in New Issue