pandoc/test/command/3792.md
John MacFarlane 641849b70a Be less aggressive about using quotes for YAML values.
We need quotes if `[` or `{` or `'` is at the beginning of
the line, but not otherwise.
2020-10-08 10:54:53 -07:00

13 lines
173 B
Markdown

Make sure metadata values are treated as strings,
and properly escaped.
```
% pandoc -t markdown -s -M title="<this> *that*"
ok
^D
---
title: \<this\> \*that\*
---
ok
```