Skip to content

Commit

Permalink
Change substitions order of directives (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja authored Jun 1, 2024
1 parent 47f57fb commit 0abce62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "mkdocs-include-markdown-plugin"
version = "6.1.0"
version = "6.1.1"
description = "Mkdocs Markdown includer plugin."
readme = "README.md"
license = "Apache-2.0"
Expand Down
8 changes: 4 additions & 4 deletions src/mkdocs_include_markdown_plugin/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,12 +624,12 @@ def found_include_markdown_tag( # noqa: PLR0912, PLR0915

return text_to_include

markdown = tags['include'].sub(
found_include_tag,
markdown = tags['include-markdown'].sub(
found_include_markdown_tag,
markdown,
)
return tags['include-markdown'].sub(
found_include_markdown_tag,
return tags['include'].sub(
found_include_tag,
markdown,
)

Expand Down

0 comments on commit 0abce62

Please sign in to comment.