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.
20 lines
383 B
Markdown
20 lines
383 B
Markdown
Pandoc recognizes an abbreviation and inserts a nonbreaking
|
|
space (among other things, this prevents a sentence-ending
|
|
space from being inserted in LaTeX output).
|
|
|
|
```
|
|
% pandoc -t native
|
|
Mr. Bob
|
|
^D
|
|
[Para [Str "Mr.\160Bob"]]
|
|
```
|
|
|
|
If you don't want this to happen you can escape the period:
|
|
|
|
```
|
|
% pandoc -t native
|
|
Hi Mr\. Bob
|
|
^D
|
|
[Para [Str "Hi",Space,Str "Mr.",Space,Str "Bob"]]
|
|
```
|
|
|