Thread Starter
tk4rp
(@tk4rp)
Hello @cristiandraghia,
I did what you suggested but it didn’t fix the problem due to some strange bugs of the theme. Your suggestion though was helpful because I found the cause of this issue and I fixed it.
The installed theme uses a custom function to generate the markup of the featured image in posts. I just filtered the text of the alt attribute using
htmlspecialchars($alt_text, ENT_QUOTES, 'UTF-8');
and this fixed the problem.
Thanks a lot for your help!
Thread Starter
tk4rp
(@tk4rp)
Hi Cristian,
The blog page (image translation works fine here):
Dutch: https://encore-expertisecentrum.nl/news/
English: https://encore-expertisecentrum.nl/en/news/
All posts have this problem. For example check the following:
Dutch: https://encore-expertisecentrum.nl/test-post/
English: https://encore-expertisecentrum.nl/en/test-post/
The english version is showing the markup of the featured image instead of the image.
ps: I don’t use any SSL/HTTPS plugin.