summaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-10-12 00:15:31 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-10-12 00:15:31 +0000
commit0b97acf582785aee494caae1512ef2416f00f404 (patch)
tree9b012220db4a2ad3500469c1c28e84109ee08dbe /html.c
parent66cfe68f0233b3c301173c3bec7198336d19b416 (diff)
downloadmandoc-0b97acf582785aee494caae1512ef2416f00f404.tar.gz
Fix an obvious bug found during the /* FALLTHROUGH */ cleanup:
ASCII_NBRSP has to be rendered as "&nbsp;", not "-".
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index f9a45447..e5965ed5 100644
--- a/html.c
+++ b/html.c
@@ -318,7 +318,7 @@ print_escape(char c)
printf("&quot;");
break;
case ASCII_NBRSP:
- putchar('-');
+ printf("&nbsp;");
break;
case ASCII_HYPH:
putchar('-');