Parsing iFrames in Latest Posts
-
Was this a decision based on security or size issues? I've noticed that iFrames from embedded media don't display on either Recent Posts, or in the last x posts of a category on the homepage.
Is their a better was of handling this rather than just using blank spaces...?
-
Mostly because allowing everything looked like crap. You can change the tags that are stripped in utils.js the array is called
utils.stripTags
https://github.com/NodeBB/NodeBB/blob/master/public/src/utils.js#L250I think we didn't have responsive video embedding at the beginning so all the youtube videos etc would just go out of the recent posts or get clipped etc. Maybe we can add it back since those are working now?
-
Mostly because allowing everything looked like crap. You can change the tags that are stripped in utils.js the array is called
utils.stripTags
https://github.com/NodeBB/NodeBB/blob/master/public/src/utils.js#L250I think we didn't have responsive video embedding at the beginning so all the youtube videos etc would just go out of the recent posts or get clipped etc. Maybe we can add it back since those are working now?