summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-09-24 11:05:45 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-09-24 11:05:45 +0000
commitf31eee34a29f6fcdb8fe0640095473ede5982887 (patch)
treeef337ebfd5c2ab6b14b93f3079461f874210a89c /mdoc_term.c
parent7781128d46665331fdbd9893a256257e88eaf96d (diff)
downloadmandoc-f31eee34a29f6fcdb8fe0640095473ede5982887.tar.gz
Sync'd example style-sheet to be more like OpenBSD's default (KISS).
-Thtml and -Tascii now have equivalent functionality.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 7343ffdf..f50149bf 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -261,8 +261,8 @@ static const struct termact termacts[MDOC_MAX] = {
{ termp_brq_pre, termp_brq_post }, /* Bro */
{ NULL, NULL }, /* Brc */
{ NULL, NULL }, /* %C */
- { NULL, NULL }, /* Es */
- { NULL, NULL }, /* En */
+ { NULL, NULL }, /* Es */ /* TODO */
+ { NULL, NULL }, /* En */ /* TODO */
{ termp_xx_pre, NULL }, /* Dx */
{ NULL, NULL }, /* %Q */
{ termp_sp_pre, NULL }, /* br */
@@ -1417,7 +1417,7 @@ termp_bt_pre(DECL_ARGS)
{
term_word(p, "is currently in beta test.");
- return(1);
+ return(0);
}
@@ -1426,7 +1426,8 @@ static void
termp_lb_post(DECL_ARGS)
{
- term_newln(p);
+ if (SEC_LIBRARY == node->sec)
+ term_newln(p);
}