diff --git a/pillar/shortcodes.py b/pillar/shortcodes.py index 5a4a8c32..600007b3 100644 --- a/pillar/shortcodes.py +++ b/pillar/shortcodes.py @@ -163,8 +163,11 @@ class YouTube: return html_module.escape('{youtube invalid YouTube ID/URL}') src = f'https://www.youtube.com/embed/{youtube_id}?rel=0' - html = f'' + iframe_tag = f'' + # Embed the iframe in a container, to allow easier styling + html = f'
' return html