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?