Hi, if the page's
<head> section) contains for e.g. already encoded & character:
M will encode it again, resulting in:
being displayed in the tooltip (but tooltip just copies values from
which, again, will look like this in HTML:
which is wrong.
It should simply be/look like this:
because it is already encoded HTML entity.
See screenshots for illustration.
I guess the "fix" here would be to first decode it and then encode it again to make sure everything is fine?
If I understand you correctly, just leave things stored in database as they are, and simply use
htmlspecialchars_decode($title) for display purposes.
edit: I forgot that it does 2 times encoding, when it should use decoding.