Skip to content

Commit d407529

Browse files
authored
Fix incorrect order of comments resulting in accidental output (#1552)
1 parent 4b86666 commit d407529

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: templates/shortcodes/embed_video.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<!-- {#
1+
{# <!--
22
Embed a video into a markdown file. Example usage:
33
44
{{ embed_video(type="video/mp4", src="my-video.mp4", caption="Some caption.") }}
55
6-
#} -->
6+
--> #}
77
<figure>
88
<video controls autoplay muted loop>
99
<source type="{{ type }}" src="{{ get_url(path=page.colocated_path ~ src)}}" />

Diff for: templates/shortcodes/image_figure.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- {#
1+
{# <!--
22
Displays an image with a legend.
33
44
Example usage:
@@ -25,7 +25,7 @@
2525
alt="image/GIF description"
2626
src="image link"
2727
caption="[image caption](https://example.com)") }}
28-
#} -->
28+
--> #}
2929

3030
{% if src != "image link" %}
3131
{# Only validate against placeholders if we're not in the example #}

0 commit comments

Comments
 (0)