Phil icon indicating copy to clipboard operation
Phil copied to clipboard

cross.js: get clues via textContent instead of innerHTML to avoid HTML encoding and stray html tags

Open maiamcc opened this issue 5 years ago • 0 comments

👋what an excellent project!

Dropping this PR here because I was getting annoyed by clues exporting as

"Law & Order" spinoff, briefly

and also it seemed that any stray HTML tags that ended up in a clue due to copy-paste being impossible to get rid of.

Couldn't test it very thoroughly because I ran into problems generating xwsolve.js and gave up, but I think this does the trick.

maiamcc avatar Nov 28 '19 02:11 maiamcc