Merge pull request #8013 from joost231/master
Bugfix: The old regex rule selects more then the unknown/unhandled entit...
This commit is contained in:
commit
64d0be16a4
|
@ -162,7 +162,7 @@ class WC_Email extends WC_Settings_API {
|
|||
'/&(pound|#163);/i', // Pound sign
|
||||
'/&(euro|#8364);/i', // Euro sign
|
||||
'/$/', // Dollar sign
|
||||
'/&[^&;]+;/i', // Unknown/unhandled entities
|
||||
'/&[^&\s;]+;/i', // Unknown/unhandled entities
|
||||
'/[ ]{2,}/' // Runs of spaces, post-handling
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue