From 0f1b9fdcda63a0ad68ad14e64129a0fe8d3a40a0 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Tue, 17 Dec 2024 14:04:40 -0500 Subject: [PATCH] fix: Use default YAML loader --- pdf_build_src/pandoc_script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf_build_src/pandoc_script.py b/pdf_build_src/pandoc_script.py index e9710482ab..b425fbeb50 100644 --- a/pdf_build_src/pandoc_script.py +++ b/pdf_build_src/pandoc_script.py @@ -39,7 +39,7 @@ def _flatten_values(lst): fname_mkdocs_yml = _find(HERE, "mkdocs.yml") with open(fname_mkdocs_yml, "r") as stream: - mkdocs_yml = yaml.safe_load(stream) + mkdocs_yml = yaml.load(stream, yaml.Loader) sections = mkdocs_yml["nav"][0]["The BIDS Specification"]