aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/chars.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-02-13 16:18:29 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-02-13 16:18:29 +0000
commit959e0afc2248fd501f3ca98d9a57b0bbaeb858c8 (patch)
tree2291864d14a8cdcfb7d543ed11ca176ec44dcb85 /chars.c
parentf310c7e721d7fcd28f01ab7a5d6ef15f1dd07cf9 (diff)
downloadmandoc-959e0afc2248fd501f3ca98d9a57b0bbaeb858c8.tar.gz
mandoc-959e0afc2248fd501f3ca98d9a57b0bbaeb858c8.tar.zst
mandoc-959e0afc2248fd501f3ca98d9a57b0bbaeb858c8.zip
Digit-width and narrow spaces are non-breaking.
Noticed because Branden Robinson worked on related documentation in groff.
Diffstat (limited to 'chars.c')
-rw-r--r--chars.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/chars.c b/chars.c
index 24166dbd..d54fc458 100644
--- a/chars.c
+++ b/chars.c
@@ -1,7 +1,8 @@
-/* $Id: chars.c,v 1.78 2018/12/15 19:30:26 schwarze Exp $ */
+/* $Id: chars.c,v 1.79 2020/02/13 16:18:29 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
- * Copyright (c) 2011,2014,2015,2017,2018 Ingo Schwarze <schwarze@openbsd.org>
+ * Copyright (c) 2011, 2014, 2015, 2017, 2018, 2020
+ * Ingo Schwarze <schwarze@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -47,7 +48,7 @@ static struct ln lines[] = {
/* Spacing. */
{ " ", ascii_nbrsp, 0x00a0 },
{ "~", ascii_nbrsp, 0x00a0 },
- { "0", " ", 0x2002 },
+ { "0", ascii_nbrsp, 0x00a0 },
{ ":", ascii_break, 0 },
/* Lines. */