mastodon.nvim
mastodon.nvim copied to clipboard
HTML ampersand codes not consistently decoded
It appears that the HTML parser doesn't always decode HTML ampersand codes properly (e.g. ' or >), though it does seem to encode them correctly?
For example, my feed shows content such as:
When I picked up Lola's collar...
I'm likewise...
[someurl]?s=46&t=[somevalue]
The second example was posted by me using mastodon.nvim: I typed I'm on my keyboard and it displays as above. The & -> & encoding is more of a problem as it may break URL parameters, etc.
It doesn't appear to happen all the time, as I can see posts in my mastodon.nvim feed that render ' and other non-alphanumeric characters correctly, so it might be a instance- or client-specific issue. For reference, my instance is mas.to.