Skip to content
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

< character in description disable the description text #133

Open
marillat opened this issue Jan 3, 2023 · 1 comment
Open

< character in description disable the description text #133

marillat opened this issue Jan 3, 2023 · 1 comment
Labels
bug Something isn't working urgent Issues that should be prioritized as they're breaking user experience

Comments

@marillat
Copy link
Contributor

marillat commented Jan 3, 2023

Debian unstable amd64 python 3.10.6
If you have a < character in the description this character disable the description text when saved.
https://bugs.debian.org/1027706

@cydanil cydanil added bug Something isn't working urgent Issues that should be prioritized as they're breaking user experience labels Jan 14, 2023
@cydanil
Copy link
Contributor

cydanil commented Jan 14, 2023

Thanks @marillat for forwarding me the report, much appreciated!

This is because the various textes are stored as HTML to keep the formatting.
The text is correctly saved, but the issue appears when loading and parsing it.

The fix is to correctly escape text when saving it.
For already stored recipes, the breaking characters should be escaped when loading the text, and properly saving it on the next save.

This is indeed a major issue and I will work on it next.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working urgent Issues that should be prioritized as they're breaking user experience
Projects
None yet
Development

No branches or pull requests

2 participants