mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-30 04:33:25 -05:00
98659bf3b8
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 |
||
---|---|---|
.. | ||
frontmatter.go | ||
frontmatter_test.go | ||
long_text_test.md | ||
page.go | ||
parse_frontmatter_test.go |