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
If a post contains some Unicode escape sequences in YAML front-matter, like this:
description: "\uD83D\uDC68"
which is the code form the Emoji 👨, Hugo errors out while processing that post:
Started building sites ...
ERROR 2017/09/03 14:09:24 failed to parse page metadata for "post\\this-post.md": yaml: line 3: found invalid Unicode character escape code
Error: Error building site: Errors reading pages: Error: failed to parse page metadata for "post\\this-post.md": yaml: line 3: found invalid Unicode character escape code for this-post.md
Am I doing something wrong here, or is this a bug?
The text was updated successfully, but these errors were encountered:
tech4him1
changed the title
Hugo fails when parsing some Unicode escape charecters in YAML front matter
Hugo fails when parsing some Unicode escape sequences in YAML front matter
Sep 3, 2017
If a post contains some Unicode escape sequences in YAML front-matter, like this:
which is the code form the Emoji
👨
, Hugo errors out while processing that post:Am I doing something wrong here, or is this a bug?
The text was updated successfully, but these errors were encountered: