-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Word "¤" inside a variable or inside a comment is replaced by "¤" character after saving a file on file system #22492
Comments
Berry has no problem processing a file including Instead, this issue is only about using that simplistic file edit function available in the web UI, which becomes unworkable. This is not really recommended for programming anyway, to instead use a better editor, and uploading files. If you "insist" on coding via the low grade web UI edit function, you can still use a workaround like this (available all places you use a string): This implicit concatenation is resolved at compile time, hence no runtime "cost". It is designed for having long string spanning multiple lines, but work on one line too. |
@sfromis Thank you for a lighting fast reply. |
While you can work around it, I'd still say that it is a detail worthy of fixing, as the UfsEditor function of Maybe the HtmlEscape function from |
I thought we fixed the lack of html escaping a while ago. Worth revisiting what we missed |
An example of where it breaks at a |
Works better now, for both types. |
PROBLEM DESCRIPTION
Trying to use an API to get wheather information from "api.open-meteo.com", I've found that current version os Tasmota for ESP32 cant process the word "¤" on file system. Ater using this word inside any file, on a variable or on a comment, the system itself replaces it to "¤", making it impossible to use that API.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Backlog Rule1; Rule2; Rule3
:Status 0
:weblog
to 4 and then, when you experience your issue, provide the output of the Console log:TO REPRODUCE
Steps to reproduce the behavior:
Just create a file on ESP32 version with a comment or variable containing the word "¤", saving it and then reading it back.
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen.
This problem prevents me to use an API that has the word "¤t" on its address. It works fine when the the device is restarted for the first time after saving it, but doesn't work on subsequent booting because the actual address is modified by itselt to ""¤t" afterwards.
It should be same data after saving the file and then reading it back.
SCREENSHOTS
When you do this:
After saving the file, you get this:
ADDITIONAL CONTEXT
Add any other context about the problem here.
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: