mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-08 12:01:32 -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