▲ escape-goat - Escape a string for use in HTML at github.com▼4 up and 0 down, posted by sindresorhus 2765 days ago 6 comments
iwouldloveto 2765 days ago. link 1 point ▲ ▼I have always referred to this https://github.com/janl/mustache.js/blob/master/mustache.js#L60 Funny that escape-goat escapes less chars. I wonder if mustache overdoes it or escape-goat has a defect
sindresorhus 2764 days ago. link 4 points ▲ ▼Mustache overdo it. Escaping backtick was only necessary for IE8 and older. Escaping `/` and `=` is not needed.