Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove double entry for doublequotes into html entity escaping function.

  • Loading branch information...
commit 61115f819e6733d261c3e15642f02222a676d13c 1 parent daf75c7
@maranda maranda authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  js/jsjac.js
View
3  js/jsjac.js
@@ -7,7 +7,7 @@ This is the JSJaC library for Jappix (from trunk)
Licenses: Mozilla Public License version 1.1, GNU GPL, AGPL
Authors: Stefan Strigler, Valérian Saliou, Zash, Maranda
-Last revision: 08/10/12
+Last revision: 31/03/13
*/
@@ -298,7 +298,6 @@ String.prototype.htmlEnc = function() {
return this.replace(/&/g,"&")
.replace(/</g,"&lt;")
.replace(/>/g,"&gt;")
- .replace(/\"/g,"&quot;")
.replace(/\'/g,"&#039;")
.replace(/\"/g,"&quot;")
.replace(/\n/g,"<br />");
Please sign in to comment.
Something went wrong with that request. Please try again.