mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-19 03:01:31 -04:00

When a YAML/TOML's delimiter character sequence is included in a frontmatter string, parser mistakes it as a delimiter. This fixes it by checking a character right before the delimiter sequence is '\n' or it is the beginning of the frontmatter. Fix #1320