ffc2192caf
Previously we used HsYAML's decodeStrict to recognize boolean values (treating everything else as a string). This caused problems relating to hvr/HsYAML#7. We now just check for the recognized boolean values `true|True|TRUE|false|False|FALSE`, and avoid using HsYAML. Closes #5177.
12 lines
124 B
Markdown
12 lines
124 B
Markdown
This should not give a "Prelude.read: no parse" error:
|
|
|
|
```
|
|
% pandoc -M foo=1e -s -t markdown
|
|
hi
|
|
^D
|
|
---
|
|
foo: 1e
|
|
---
|
|
|
|
hi
|
|
```
|