Skip to content

Conversation

@dekaSW
Copy link

@dekaSW dekaSW commented Aug 12, 2025

Hey Logan,
after failing to workaround this issue around spltjs due to the nature of .innerHTML always escaping those HTML entities I tried to apply some changes to your script instead which finally worked. It would be nice if you'd merge this proposal one way or another. The method used to decode those entities (by using textarea elements) might not be the smartest but it's definitely an easy one and working. Maybe see https://thelinuxcode.com/decode-html-entities-javascript/ for reference. Thanks!

Hey Logan,
after failing to workaround this issue around spltjs due to the nature of .innerHTML always escaping those HTML entities I tried to apply some changes to your script instead which finally worked. It would be nice if you'd merge this proposal one way or another. The methode used to decode those entities (by using textarea elements) might not be the smartest but it's definitely an easy one and working.
Maybe see https://thelinuxcode.com/decode-html-entities-javascript/ for reference.
Thanks!
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