2025.12.25 16:22:14 (cachyos.cmoser.eu)
This commit is contained in:
@@ -477,6 +477,6 @@ def render_youtube_video(tag_name: str, value, options, parent, context):
|
|||||||
if settings.USE_BOOTSTRAP:
|
if settings.USE_BOOTSTRAP:
|
||||||
return f"""<div class=""{' '.join(div_classes)}" {div_style}>
|
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>
|
<iframe class="{' '.join(classes)}" src="https://www.youtube.com/embgit ed/{options[tag_name]}?rel=0" allowfullscreen></iframe>
|
||||||
</div>"""
|
</div>""" # noqa: E501
|
||||||
else:
|
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
|
||||||
|
|||||||
0
tinywiki/parser/markdown/__init__.py
Normal file
0
tinywiki/parser/markdown/__init__.py
Normal file
Reference in New Issue
Block a user