2025.12.25 16:22:14 (cachyos.cmoser.eu)

This commit is contained in:
2025-12-25 16:22:14 +01:00
parent 3d578129d1
commit c7b42d32bd
3 changed files with 3 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ FORMATTERS=[
(('image', render_image), {'same_tag_closes': True}),
(('img', render_image), {'same_tag_closes': True}),
(('wiki-image', render_wiki_image), {'standalone': True}),
(('wimg', render_wiki_image),{'standalone': True}),
(('wimg', render_wiki_image), {'standalone': True}),
(('table', render_table), {}),
(('table-row', render_table_row), {}),
(('tr', render_table_row), {}),

View File

@@ -477,6 +477,6 @@ def render_youtube_video(tag_name: str, value, options, parent, context):
if settings.USE_BOOTSTRAP:
return f"""<div class=""{' '.join(div_classes)}" {div_style}>
<iframe class="{' '.join(classes)}" src="https://www.youtube.com/embgit ed/{options[tag_name]}?rel=0" allowfullscreen></iframe>
</div>"""
</div>""" # noqa: E501
else:
return f'<div {div_style}><iframe src="https://www.youtube.com/embed/{options[tag_name]}?rel=0" allowfullscreen></iframe></div>'
return f'<div {div_style}><iframe src="https://www.youtube.com/embed/{options[tag_name]}?rel=0" allowfullscreen></iframe></div>' # noqa: E501

View File