Trim trailing spaces from YAML and TOML delimiters
authorJeff Hodges <jeff@somethingsimilar.com>
Sun, 2 Aug 2015 05:24:22 +0000 (22:24 -0700)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 2 Aug 2015 12:46:46 +0000 (14:46 +0200)
commit8d28686edcf19b5dd067482b72fdc1b93c99ef7f
treec562bf7e2f7e7ea1e440263376a19a0c5888a79d
parent211b757fee6d587a365104652ef3b1d335b702fa
Trim trailing spaces from YAML and TOML delimiters

When someone hits space after typing "---" (or "+++") but before they
hit return, hugo silently failed to parse the file. This corrects that.
parser/page.go
parser/parse_frontmatter_test.go