Skip to content

Commit 2d2d36b

Browse files
authored
Merge pull request #9 from cmsirbu/disable-autoescaping
Enable auto-escaping only for html and xml templates
2 parents bcb5449 + b656c16 commit 2d2d36b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mkdocs_ansible_collection/plugin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def __init__(self, *args, **kwargs):
3636
)
3737
self.jinja_env = Environment(
3838
loader=FileSystemLoader(package_files("mkdocs_ansible_collection") / "templates"),
39-
autoescape=select_autoescape(default=True),
39+
autoescape=select_autoescape(["html", "htm", "xml"]),
4040
trim_blocks=True,
4141
lstrip_blocks=True,
4242
)

0 commit comments

Comments
 (0)