Skip to content

Commit

Permalink
Fix bug in decoding html.
Browse files Browse the repository at this point in the history
  • Loading branch information
alinex committed Jan 9, 2017
1 parent 32ca400 commit 8a45cc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mod/string.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ exports.htmlDecode = (text) ->
">": ">"
""": "\""
"'": "'"
text.replace /[&<>"']/g, (m) -> return map[m]
text.replace /(&amp;|&lt;|&gt;|&quot;|&#39;)/g, (m) -> return map[m]


###
Expand Down

0 comments on commit 8a45cc7

Please sign in to comment.