Skip to content

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

Open
maiamcc wants to merge 1 commit intokeiranking:masterfrom
maiamcc:text-content
Open

cross.js: get clues via textContent instead of innerHTML to avoid HTML encoding and stray html tags#28
maiamcc wants to merge 1 commit intokeiranking:masterfrom
maiamcc:text-content

Conversation

@maiamcc
Copy link

@maiamcc maiamcc commented Nov 28, 2019

👋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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant