pandoc/test/command/3568.md
John MacFarlane 31a36cf186 Man writer: Fix handling of nested font commands.
Previously pandoc emitted incorrect markup for bold + italic, for example,
or bold + code.

Closes #3568.
2017-04-12 12:23:29 +02:00

320 B

% pandoc -t man
normal *italic **bold in the middle** only italic* normal.

normal **bold `code` more bold** normal.

normal `code` normal.
^D
.PP
normal \f[I]italic \f[BI]bold in the middle\f[I] only italic\f[] normal.
.PP
normal \f[B]bold \f[BC]code\f[B] more bold\f[] normal.
.PP
normal \f[C]code\f[] normal.