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"]