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`.
This commit is contained in:
John MacFarlane
2018-10-23 21:44:07 -07:00
parent 556e3eef4a
commit 8efb8975ed
8 changed files with 104 additions and 89 deletions
+1 -1
View File
@@ -3,5 +3,5 @@
A ‘simple’ example
^D
.LP
A ‘simple’ example
A \[oq]simple\[cq] example
```