Skip to content

Commit

Permalink
Fixed regression in data- options
Browse files Browse the repository at this point in the history
  • Loading branch information
MartenBE committed Sep 21, 2024
1 parent 143b8f8 commit b1157dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion assets/templates/slideshow.html.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<div class="slides">
<section data-markdown
{% for key, value in markdown_data_options.items() %}
data-{{ key }}="{{ value }}"
{{ key }}="{{ value }}"
{% endfor %}
>
<textarea data-template>
Expand Down
8 changes: 4 additions & 4 deletions tests/test_markdown_data_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ def test_revealjs_markdown_data_options(setup_markup_generator: Any) -> None:
r"""
<section\s+data-markdown
.*?
data-separator="\^\\s\*---\\s\*\$"
\s+data-separator="\^\\s\*---\\s\*\$"\s+
.*?
data-separator-vertical="\^\\s\*-v-\\s\*\$"
\s+data-separator-vertical="\^\\s\*-v-\\s\*\$"\s+
.*?
data-separator-notes="\^Notes\?:"
\s+data-separator-notes="\^Notes\?:"\s+
.*?
data-charset="utf-8"
\s+data-charset="utf-8"\s+
.*?
>
""",
Expand Down

0 comments on commit b1157dd

Please sign in to comment.