Merge pull request #32 from dryabov/master

fix cry smile
This commit is contained in:
iHedgehog 2014-03-26 07:07:44 +03:00
commit c8fbd67924

View File

@ -106,7 +106,8 @@
.replace(/&/g, '&')
.replace(/</g, '&lt;')
.replace(/>/g, '&gt;')
.replace(/"/g, '&quot;');
.replace(/"/g, '&quot;')
.replace(/'/g, '&apos;');
},
quote: function (str) {
return (str + '').replace(/([.?*+^$[\]\\(){}|-])/g, "\\$1");