OSDN Git Service

man2html: Supports \(ha (which means a caret (^))
authorAkihiro Motoki <amotoki@gmail.com>
Sat, 1 May 2021 11:36:37 +0000 (20:36 +0900)
committerAkihiro Motoki <amotoki@gmail.com>
Sat, 1 May 2021 11:41:24 +0000 (20:41 +0900)
Recently LDP man-pages recommends to use \(ha for a caret (^)
as described in man-pages.7. Our man2html does not support it
and we receieved a bug report in [JM:02166].

admin/man-1.6g/man2html/strdefs.c

index 9e3d398..5507daf 100644 (file)
@@ -225,6 +225,7 @@ static STRDEF standardchar[] = {
     { V('f','m'), 1, "&#180;", NULL  },
     { V('f','o'), 1, "&lsaquo;", NULL  },
     { V('g','a'), 1, "`", NULL  },
+    { V('h','a'), 1, "^", NULL  },
     { V('h','A'), 1, "&hArr;", NULL },
     { V('h','y'), 1, "-", NULL  },
     { V('i','f'), 1, "&infin;", NULL },