summaryrefslogtreecommitdiffstats
path: root/man2html/strdefs.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-04-13 19:12:03 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-04-13 19:12:03 -0700
commit3d3beee4f93290ac31c838c0d498446c1c458635 (patch)
tree643c76755f5c3da45575e82f093a9b8711a43d85 /man2html/strdefs.c
parentcce839658782c242501658f4327434126f4f4868 (diff)
downloadman-3d3beee4f93290ac31c838c0d498446c1c458635.tar.gz
man-3d3beee4f93290ac31c838c0d498446c1c458635.tar.bz2
man-3d3beee4f93290ac31c838c0d498446c1c458635.zip
Implement arrow codes supported in groff.
Diffstat (limited to 'man2html/strdefs.c')
-rw-r--r--man2html/strdefs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/man2html/strdefs.c b/man2html/strdefs.c
index 3ed0e85..24f84a7 100644
--- a/man2html/strdefs.c
+++ b/man2html/strdefs.c
@@ -137,6 +137,10 @@ static STRDEF standardchar[] = {
{ V('>','='), 1, "&gt;", NULL },
{ V('<','='), 1, "&lt;", NULL },
{ V('d','q'), 1, "&quot;", NULL }, /* groff \(dq quote */
+ { V('-','>'), 1, "&rarr;", NULL },
+ { V('<','-'), 1, "&larr;", NULL },
+ { V('u','a'), 1, "&uarr;", NULL },
+ { V('d','a'), 1, "&darr;", NULL },
{ 0, 0, NULL, NULL }
};