diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-17 06:44:58 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-17 06:44:58 +0000 |
commit | a95737d0fe7d58cea73235887cdce9f58bae1335 (patch) | |
tree | b1e382b6e729e9db6aff88da6d68fc0cb999f2af /mdoc_term.c | |
parent | 194fdd32fe2e8d95e8130915d406a4509ac1caf7 (diff) | |
download | mandoc-a95737d0fe7d58cea73235887cdce9f58bae1335.tar.gz mandoc-a95737d0fe7d58cea73235887cdce9f58bae1335.tar.zst mandoc-a95737d0fe7d58cea73235887cdce9f58bae1335.zip |
Multiple fixes with respect to in-line macros:
* .No selects the default font; relevant e.g. in .Bf blocks
* no need to force empty .Li elements
* closing delimiters as leading macro arguments do not suppress space
* opening delimiters at the end of a macro line do not suppress space
* correctly handle delimiter spacing in -Tman
As a side effect, these fixes let mandoc warn about empty .No macros
as requested by bentley@.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index 486f1afe..f4fbed4c 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.289 2014/11/10 21:56:43 schwarze Exp $ */ +/* $Id: mdoc_term.c,v 1.290 2014/11/17 06:44:58 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -193,7 +193,7 @@ static const struct termact termacts[MDOC_MAX] = { { termp_quote_pre, termp_quote_post }, /* Eo */ { termp_xx_pre, NULL }, /* Fx */ { termp_bold_pre, NULL }, /* Ms */ - { NULL, NULL }, /* No */ + { termp_li_pre, NULL }, /* No */ { termp_ns_pre, NULL }, /* Ns */ { termp_xx_pre, NULL }, /* Nx */ { termp_xx_pre, NULL }, /* Ox */ |