Scripts in HTML-component

I finally got my long wanted databound html-component. With the documentation and code examples about messaging I got it working pretty quickly: read html-snippet from collection, send as a message and voilà. Almost …
The snippet I am working with is from Tripadvisor. It holds also a script, like this:

Above the script is an img src =… Only this image is displayed, the script is not executed. I tried it inside a normal html-page (with Notepad) and it works great. I get the ratings, the snippets from reviews, all.

So it looks like the html-component doesnot execute scripts, although the documentation on Wix says scripting is re-enabled.

I realize this is not something particular to Wix Code, but does anybody have a solution?

Just a quick thought… Could it be a security/permission problem as the script is excecuted at resource that doesn’t match your sites url?

Could you try to implement your Notepad-generated into a iframe? Does tis work?

Hi Tom, thanks for helping. I ran the Notepad version from my C:-drive and it worked, so I doubt it has got anything to do with a domain related issue. Any other thoughts?