diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-10-23 21:38:21 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-10-23 21:44:07 -0700 |
commit | 8efb8975ed641ddd075954e1ccc7f71eca1d3c16 (patch) | |
tree | b1b3f561de86e3d012f1b5f1e82f141e32b43926 /test/writer.man | |
parent | 556e3eef4a26eab9ea769e06668fcba546d76b18 (diff) | |
download | pandoc-8efb8975ed641ddd075954e1ccc7f71eca1d3c16.tar.gz |
Groff writer character escaping changes.
T.P.GroffChar: replaced `essentialEscapes` with `manEscapes`,
which includes all the escapes mentioned in the groff_man manual.
T.P.Writers.Groff: removed escapeCode; changed parameter on
escapeString from Bool to new type `EscapeMode`.
Rewrote `escapeString`.
Diffstat (limited to 'test/writer.man')
-rw-r--r-- | test/writer.man | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/writer.man b/test/writer.man index 4a05b74fd..4dab58c21 100644 --- a/test/writer.man +++ b/test/writer.man @@ -308,7 +308,7 @@ Nested. .PP Should not be a list item: .PP -M.A.\~2007 +M.A.\ 2007 .PP B. Williams @@ -492,9 +492,9 @@ This is code: \f[C]>\f[R], \f[C]$\f[R], \f[C]\[rs]\f[R], \f[C]\[rs]$\f[R], .PP [STRIKEOUT:This is \f[I]strikeout\f[R].] .PP -Superscripts: a^bc^d a^\f[I]hello\f[R]^ a^hello\~there^. +Superscripts: a^bc^d a^\f[I]hello\f[R]^ a^hello\ there^. .PP -Subscripts: H~2~O, H~23~O, H~many\~of\~them~O. +Subscripts: H~2~O, H~23~O, H~many\ of\ them~O. .PP These should not be superscripts or subscripts, because of the unescaped spaces: a\[ha]b c\[ha]d, a\[ti]b c\[ti]d. |