You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mglaman found this, so credit to him... if you look at the blog page and one of the entries has a YouTube embed, it's all garbled. It should either display the embed, or drop it, not display a bunch of random CSS!
The text was updated successfully, but these errors were encountered:
@mglaman Yes, that's exactly what's happening. I grab the embed code from http://embedresponsively.com — which tosses it into <style> tags. I could maybe put HTML comments around that?
Ah, so it is intended to be embedded as part of the blog content. I think the only workaround is to add that kind of CSS to your site's theme, or manually set the teaser to not include the video.
geerlingguy
changed the title
Blog teasers don't parse out embeds correctly, looks bad
Blog teasers don't parse out YouTube video embeds correctly, looks bad
Aug 29, 2023
See: https://www.jeffgeerling.com/blog
@mglaman found this, so credit to him... if you look at the blog page and one of the entries has a YouTube embed, it's all garbled. It should either display the embed, or drop it, not display a bunch of random CSS!
The text was updated successfully, but these errors were encountered: