edc651059e
Starting with pandoc 2.4, citations and quoted inlines
were no longer recognized after parentheses. This is
because of commit 9b0bd4ec6f
,
which is reverted here.
The point of that commit was to allow relocation of
soft line breaks to before an abbreviation, so that
a nonbreaking space could be added after the
abbreviation. Now we simply leave the soft line
break in place, even though this means that
we won't get a nonbreaking space after "Mr."
at the end of a line (and in LaTeX this may
result in a longer intersentential space).
Those who care about this issue should take care
not to end lines with an abbreviation, or to
insert nonbreaking spaces manually.
Closes #5099.
399 B
399 B
% pandoc -f markdown -t native
(cf.
foo)
^D
[Para [Str "(cf.",SoftBreak,Str "foo)"]]
% pandoc -f markdown -t native
a (cf.
foo)
^D
[Para [Str "a",Space,Str "(cf.",SoftBreak,Str "foo)"]]
% pandoc -f markdown -t native
cf.
foo
^D
[Para [Str "cf.",SoftBreak,Str "foo"]]
% pandoc -f markdown -t native
a cf.
foo
^D
[Para [Str "a",Space,Str "cf.",SoftBreak,Str "foo"]]