Umlaut problem in chat preview
Summary
Chat message preview shows ü
instead of ü
and so on. Umlauts are broken. Both desktop and mobile. If I open this message everything is displayed correctly.
Steps to reproduce
- Login
- Click on the chat message bubble symbol
What is the current bug behavior?
Umlauts are broken
What is the expected correct behavior?
Umlauts should be displayed correctly like currently on production
Relevant error messages and/or screenshots
Possible fixes
-
🚫 inject HTML message directly into DOM withv-html
-
🚫 inject tag-stripped + callback-stripped into DOM withv-html
-
✅ inject stripped + filtered (no encoded tags) HTML into DOM withv-html
(❓ check if actually safe) - prevent API from encoding stored messages
-
❓ where does the encoding happen? -
❓ is the mobile app affected by this?
-
Somehow introduced by?: https://beta.foodsharing.de/?page=content&sub=changelog
Edited by Chris Oelmueller