From f48960b75fe2d7ae532ec17a060109c92b893f57 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 17 Oct 2018 17:23:14 -0700 Subject: Move common groff functions to Text.Pandoc.Writers.Groff (unexported module). These are used in both the man and ms writers. Moved groffEscape out of Text.Pandoc.Writers.Shared [cancels earlier API change from adding it, which was after last release]. This fixes strong/code combination on man (should be `\f[CB]` not `\f[BC]`), mentioned in #4973. Updated tests. Closes #4975. --- test/command/3568.md | 2 +- test/command/4550.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test/command') diff --git a/test/command/3568.md b/test/command/3568.md index 919972ed3..f88c2fe9a 100644 --- a/test/command/3568.md +++ b/test/command/3568.md @@ -10,7 +10,7 @@ normal `code` normal. normal \f[I]italic \f[BI]bold in the middle\f[I] only italic\f[R] normal. .PP -normal \f[B]bold \f[BC]code\f[B] more bold\f[R] normal. +normal \f[B]bold \f[CB]code\f[B] more bold\f[R] normal. .PP normal \f[C]code\f[R] normal. ``` diff --git a/test/command/4550.md b/test/command/4550.md index bf3afce5b..45ed21a00 100644 --- a/test/command/4550.md +++ b/test/command/4550.md @@ -3,5 +3,5 @@ A ‘simple’ example ^D .LP -A ‘simple’ example +A \[oq]simple\[cq] example ``` -- cgit v1.2.3