Skip to content

Commit

Permalink
Merge pull request #584 from mjeronimo/mjeronimo/representer-fix
Browse files Browse the repository at this point in the history
Provide the Dumper class explicitly when calling frontmatter.dumps
  • Loading branch information
jacebrowning committed Nov 19, 2022
2 parents 7b985ff + 875e67a commit 0db346d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doorstop/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,5 +342,5 @@ def dump_markdown(data, textattr):

content += textattr["text"]

text = frontmatter.dumps(frontmatter.Post(content, **data))
text = frontmatter.dumps(frontmatter.Post(content, **data), Dumper=yaml.dumper.Dumper)
return text

0 comments on commit 0db346d

Please sign in to comment.