aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/chars.in
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-05-24 21:40:14 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-05-24 21:40:14 +0000
commit5f3d81eaf50a34f7f2e677d8c8d33c04efbadf19 (patch)
tree5ec699c09949236af8144cb99c7f0e287dc366ca /chars.in
parentb93b7d11befe80f204689861fdaa729f36298ebb (diff)
downloadmandoc-5f3d81eaf50a34f7f2e677d8c8d33c04efbadf19.tar.gz
mandoc-5f3d81eaf50a34f7f2e677d8c8d33c04efbadf19.tar.zst
mandoc-5f3d81eaf50a34f7f2e677d8c8d33c04efbadf19.zip
Use the correct Unicode value for the zero-width space, which means that
spec2cp never needs to fall through to spec2str. Then clean out html.c of its unnecessary print_res() function.
Diffstat (limited to 'chars.in')
-rw-r--r--chars.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/chars.in b/chars.in
index 6cbf34ed..483a2bb8 100644
--- a/chars.in
+++ b/chars.in
@@ -1,4 +1,4 @@
-/* $Id: chars.in,v 1.38 2011/05/24 21:24:16 kristaps Exp $ */
+/* $Id: chars.in,v 1.39 2011/05/24 21:40:14 kristaps Exp $ */
/*
* Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -33,15 +33,15 @@ static const char ascii_nbrsp[2] = { ASCII_NBRSP, '\0' };
CHAR_TBL_START
/* Spacing. */
-CHAR("c", "", 0)
+CHAR("c", "", 8203)
CHAR("0", " ", 8194)
CHAR(" ", ascii_nbrsp, 160)
CHAR("~", ascii_nbrsp, 160)
-CHAR("%", "", 0)
-CHAR("&", "", 0)
-CHAR("^", "", 0)
-CHAR("|", "", 0)
-CHAR("}", "", 0)
+CHAR("%", "", 8203)
+CHAR("&", "", 8203)
+CHAR("^", "", 8203)
+CHAR("|", "", 8203)
+CHAR("}", "", 8203)
/* Accents. */
CHAR("a\"", "\"", 779)