You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see why it's doing this, but it's not an easy thing to fix.
The rule that gives us the \. in the body is a special-case rule on Para. If a Para block begins with something that could start an ordered list, we insert the extra backslash.
In the metadata, we don't have a Para; we have a MetaInlines element.
Actually it turned out to have a simple fix, and this also dealt with the linked issue (where you don't explicitly escape the period in the title field).
This is a follow up from more general issue #1685. Given this
example.md
:Parsed and written back as Markdown (tested with pandoc 1.19.2.1.):
Results in this document:
Escaping is done properly in the document body but not in the document metadata.
The text was updated successfully, but these errors were encountered: