summaryrefslogtreecommitdiffstats
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
commit7781128d46665331fdbd9893a256257e88eaf96d (patch)
tree2e1e8ed81202c43bef356b75ea9f2f2cd86440d6 /mdoc_term.c
parenta9dec6b72054a997078fb8d026d5a990639857dd (diff)
downloadmandoc-7781128d46665331fdbd9893a256257e88eaf96d.tar.gz
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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index bef0329d..7343ffdf 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -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);