Merge pull request #8013 from joost231/master

Bugfix: The old regex rule selects more then the unknown/unhandled entit...
This commit is contained in:
Mike Jolley 2015-04-23 16:31:44 +01:00
commit 64d0be16a4
1 changed files with 1 additions and 1 deletions

View File

@ -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
);