zen0wu / topcoder-greed

greedy editor for topcoder arena
Apache License 2.0
229 stars 45 forks source link

Detect all entities when double-escaped #131

Closed vexorian closed 10 years ago

vexorian commented 10 years ago

This should solve #130 .

In the past, the list of HTML entities that were detected to be escaped twice were limited to some 6 usual ones. This version handles all HTML entities according to the HTML language. That is any string that matches: &someword; or &#somenumber;

zen0wu commented 10 years ago

Cool, thanks!