547bc2cdf8
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.
212 B
212 B
pandoc -s -t markdown
---
author: 'John Doe[^1]'
date: 2014
title: My Article
---
[^1]: Dept. of This and That
^D
---
author: John Doe[^1]
date: 2014
title: My Article
---
[^1]: Dept. of This and That