Iframe html being stripped from topic content

Hi,

I am trying to create a new topic with a Google doc in an iframe. I have added https://docs.google.com to the allowed list but it wont show. I previously created a different topic on Jul 6th that does show the iframe correctly (and still works right now). In fact when copying the simple iframe code from the working one to a new topic, it does not work in the new topic. When comparing the source code of both topics, it appears that the iframe html is being stripped out of the new post.

I am the site admin and cant see any overrides that might have caused this to happen.

Any ideas why the iframe in a new topic is being stripped out?

Could you try adding a trailing slash to the value in allowed iframes and see if that helps?

https://docs.google.com/

3 Likes

Ha, that solved it. Thank you.

1 Like

This solved a problem I spent a couple of hours trying to solve. :see_no_evil:

Discourse-team, could this not be added to the helper-text? That you need to add a slash to the domain?

(It is also a something that breaks between 3.2.X and 3.3.X. In 3.2.X it works without the slashes).

1 Like