summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-09-24 09:50:31 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-09-24 09:50:31 +0000
commite31ba3ca2b454ee69e0708aa1fce28e3c3337584 (patch)
treed69e131442964c54ce9428745c7649af17392392 /mdoc_term.c
parent3ed66df36c17c0acbbe4b0abf4000069483787ce (diff)
downloadmandoc-e31ba3ca2b454ee69e0708aa1fce28e3c3337584.tar.gz
mandoc-e31ba3ca2b454ee69e0708aa1fce28e3c3337584.tar.zst
mandoc-e31ba3ca2b454ee69e0708aa1fce28e3c3337584.zip
Added Bf, Pf, etc. to -Thtml.
Fixed Rs in -Tascii to behave properly when not in "SEE ALSO" section.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 998607c1..8bc65123 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.79 2009/09/24 09:20:02 kristaps Exp $ */
+/* $Id: mdoc_term.c,v 1.80 2009/09/24 09:50:31 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -218,7 +218,7 @@ static const struct termact termacts[MDOC_MAX] = {
{ termp_under_pre, NULL }, /* Em */
{ NULL, NULL }, /* Eo */
{ termp_xx_pre, NULL }, /* Fx */
- { termp_bold_pre, NULL }, /* Ms */
+ { termp_bold_pre, NULL }, /* Ms */ /* FIXME: convert to symbol? */
{ NULL, NULL }, /* No */
{ termp_ns_pre, NULL }, /* Ns */
{ termp_xx_pre, NULL }, /* Nx */
@@ -1164,6 +1164,8 @@ static int
termp_rs_pre(DECL_ARGS)
{
+ if (SEC_SEE_ALSO != node->sec)
+ return(1);
if (MDOC_BLOCK == node->type && node->prev)
term_vspace(p);
return(1);