Skip to content

Commit

Permalink
Update EmailService.js
Browse files Browse the repository at this point in the history
  • Loading branch information
caihuiji authored Nov 1, 2017
1 parent 683330b commit 10dd709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/EmailService.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ var getImageData = function(name, data) {
};

var encodeHtml = function(str) {
return (str + '').replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/\x60/g, '&#96;').replace(/\x27/g, '&#39;').replace(/\x22/g, '&quot;');
return (str + '').replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/\x60/g, '&#96;').replace(/\x27/g, '&#39;').replace(/\x22/g, '&quot;').replace(/\u0000/g, ' ');
};

EmailService.prototype = {
Expand Down

0 comments on commit 10dd709

Please sign in to comment.