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.
13 lines
323 B
Markdown
13 lines
323 B
Markdown
```
|
|
% pandoc -t native
|
|
(@citation
|
|
^D
|
|
[Para [Str "(",Cite [Citation {citationId = "citation", citationPrefix = [], citationSuffix = [], citationMode = AuthorInText, citationNoteNum = 0, citationHash = 0}] [Str "@citation"]]]
|
|
```
|
|
|
|
```
|
|
% pandoc -t native
|
|
('asd')
|
|
^D
|
|
[Para [Str "(",Quoted SingleQuote [Str "asd"],Str ")"]]
|
|
```
|