amethyst
amethyst copied to clipboard
[BUG] URL previews mishandle HTML entities
Describe the bug URL previews (image/title/description boxes that replace some links) show HTML entities instead of the characters they represent.
To Reproduce Steps to reproduce the behavior:
- View a note with a preview, such as nostr:nevent1qqsf4ysx2ha8uux4hqylt2l2lgg0lkhq8r9g6zqfswug2f7r4yze26spz3mhxue69uhhyetvv9ujuerpd46hxtnfdupzpqt3frpkjq24gqd5j3vqsu0mq4j2t740h9z5syl0990jwp4ujv6eqvzqqqqqqydhnpmu
- See the HTML entities visible instead of characters like quotation marks.
Expected behavior HTML entities should be replaced by the characters they represent.
Video and Screenshots
App version: 0.86.5 from F-Droid
I have provided a manual solution to decode most common html entities. It doesn't cover all html entities.
Please try again and feel free to close this issue if it is sufficent.
thank you for reporting it!