diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-18 18:04:25 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-18 18:04:25 +0000 |
commit | 62a6f18a684aea51ece6b91ad1ce0a6c90149d87 (patch) | |
tree | 60c196be451507055453dad736ffd5498cc7b178 | |
parent | 8ee4ce8a2dfd617e29674aa4e0718c32e1ad02c5 (diff) | |
download | mandoc-62a6f18a684aea51ece6b91ad1ce0a6c90149d87.tar.gz mandoc-62a6f18a684aea51ece6b91ad1ce0a6c90149d87.tar.zst mandoc-62a6f18a684aea51ece6b91ad1ce0a6c90149d87.zip |
Make "\ " produce non-breaking space.
Noted by Theo de Raadt. Ok schwarze@.
-rw-r--r-- | TODO | 5 | ||||
-rw-r--r-- | chars.in | 4 |
2 files changed, 4 insertions, 5 deletions
@@ -1,6 +1,6 @@ ************************************************************************ * Official mandoc TODO. May not be quite up to date. -* $Id: TODO,v 1.28 2010/07/18 16:42:03 schwarze Exp $ +* $Id: TODO,v 1.29 2010/07/18 18:04:25 kristaps Exp $ ************************************************************************ ************************************************************************ @@ -80,8 +80,7 @@ ************************************************************************ - perl(1) SYNOPSIS looks bad; reported by deraadt@ - 1) "\ " is non-breaking - 2) man(7) seems to need SYNOPSIS .Nm blocks, too + 1) man(7) seems to need SYNOPSIS .Nm blocks, too - empty phrases in .Bl column produce too few blanks try e.g. .Bl -column It Ta Ta @@ -1,4 +1,4 @@ -/* $Id: chars.in,v 1.27 2010/07/17 09:21:39 kristaps Exp $ */ +/* $Id: chars.in,v 1.28 2010/07/18 18:04:25 kristaps Exp $ */ /* * Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -38,7 +38,7 @@ CHAR_TBL_START /* Spacing. */ CHAR("c", "", 0, -1) CHAR("0", " ", 1, 8194) -CHAR(" ", " ", 1, 8194) +CHAR(" ", ascii_nbrsp, 1, 160) CHAR("~", ascii_nbrsp, 1, 160) CHAR("%", "", 0, -1) CHAR("&", "", 0, -1) |