jgm/pandoc — Issue #360: quotes, apostrophes and emphasis
Author: dlaxalde
Created: 2011-12-13 16:58:40+00:00
State: open

Consider the following example:

$ cat test.txt
D'oh! A l'*aide* !

The combination of an apostrophe followed by more than one character `d'oh` and an apostrophe followed by an emphasized word `l'*aide*` leads to some spurious quoting for some writers (e.g. latex, context).

$ pandoc -t latex test.txt
D`oh! A l'\emph{aide} !

$ pandoc -t context test.txt
D\quote{oh! A l}{\em aide} !

Without *aide* emphasized or with a single character after the first quote, Pandoc gives correct output.