diff --git a/frontmatter/__init__.py b/frontmatter/__init__.py index 619fabd..14e4fa2 100644 --- a/frontmatter/__init__.py +++ b/frontmatter/__init__.py @@ -34,7 +34,7 @@ def read(cls, string): fmatter = result.group(1) body = result.group(2) return { - "attributes": yaml.load(fmatter), + "attributes": yaml.load(fmatter, Loader=yaml.FullLoader), "body": body, "frontmatter": fmatter, }