parser: Fix handling of quoted brackets in JSON front matter
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 19 Jun 2017 14:45:52 +0000 (16:45 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 19 Jun 2017 14:45:52 +0000 (16:45 +0200)
commit3183b9a29d8adac962fbc73f79b04542f4c4c55d
treeaf6253017ce253961e7c80ab75200a644b1abb16
parent1a282ee4325588b410531401387e4e4daa1a33c5
parser: Fix handling of quoted brackets in JSON front matter

Also remove a broken JSON test.

Fixes #3511
hugolib/page_test.go
parser/page.go
parser/parse_frontmatter_test.go