Closed sweep-ai[bot] closed 11 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
downforacross.com | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 7, 2023 5:20pm |
it doesn't work yet, but you found the right function to edit!
tested by visiting autodeploy on a known puzzle w/ weird characters: https://downforacross-im9ize7ba-downforacross1.vercel.app/beta/game/3546695-ust
currently some clues render as Très
instead of Très
or vis-Ã -vis
instead of vis-à-vis
. Can you fix it?
This PR addresses issue #278, which involves detecting and correctly rendering "weird" encodings in clues.
Changes include:
decodeHtml
function inClueText.js
to also handle URL encoded characters usingdecodeURIComponent
.This should improve the user experience by ensuring that all clues are displayed in a readable format, regardless of their original encoding.
Fixes #278.
To checkout this PR branch, run the following command in your terminal: