pandoc/test/command/biblatex-textnormal.md
John MacFarlane 547bc2cdf8 Add quotes properly in markdown YAML metadata fields.
This fixes a bug, which caused the writer to look at the LAST
rather than the FIRST character in determining whether quotes
were needed.  So we got spurious quotes in some cases and
didn't get necessary quotes in others.

Closes #7245.  Updated a number of test cases accordingly.
2021-04-25 10:31:33 -07:00

17 lines
217 B
Markdown

```
% pandoc -f biblatex -t markdown -s
@book{item1,
Title = {The Title \textnormal{of this book}},
}
^D
---
nocite: "[@*]"
references:
- id: item1
title: The title [of this book]{.nodecor}
type: book
---
```