You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pandoc versions 2.16 and newer don't accept empty metadata.yml files anymore. However, an empty file is indeed valid YAML. (I am using automated processing of Markdown input where sometimes, the metadata.yml is empty. That's how the issue came to light.)
This can be reproduced by simply using --metadata-file /dev/null as an "empty metadata file":
Pandoc versions 2.16 and newer don't accept empty metadata.yml files anymore. However, an empty file is indeed valid YAML. (I am using automated processing of Markdown input where sometimes, the metadata.yml is empty. That's how the issue came to light.)
This can be reproduced by simply using
--metadata-file /dev/null
as an "empty metadata file":The above command works fine with Pandoc 2.15. Therefore, the bug happened somewhere between 2.15 and 2.16.
The text was updated successfully, but these errors were encountered: