From 4cc7a999b3000183ed01396b0eed8525adfa4697 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 5 Dec 2010 16:14:16 +0000 Subject: Remove `Sp', `Vb', and `Ve' (as per schwarze@'s changes in OpenBSD), which are now accomodated for the new libroff modifications. --- man_html.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'man_html.c') diff --git a/man_html.c b/man_html.c index 0a386e07..63de4534 100644 --- a/man_html.c +++ b/man_html.c @@ -1,4 +1,4 @@ -/* $Id: man_html.c,v 1.45 2010/07/23 12:27:28 kristaps Exp $ */ +/* $Id: man_html.c,v 1.46 2010/12/05 16:14:16 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -112,9 +112,6 @@ static const struct htmlman mans[MAN_MAX] = { { man_ign_pre, NULL }, /* DT */ { man_ign_pre, NULL }, /* UC */ { man_ign_pre, NULL }, /* PD */ - { man_br_pre, NULL }, /* Sp */ - { man_literal_pre, NULL }, /* Vb */ - { man_literal_pre, NULL }, /* Ve */ { man_ign_pre, NULL }, /* AT */ { man_in_pre, NULL }, /* in */ }; @@ -366,9 +363,6 @@ man_br_pre(MAN_ARGS) SCALE_VS_INIT(&su, 1); switch (n->tok) { - case (MAN_Sp): - SCALE_VS_INIT(&su, 0.5); - break; case (MAN_sp): if (n->child) a2roffsu(n->child->string, &su, SCALE_VS); @@ -738,11 +732,9 @@ man_literal_pre(MAN_ARGS) switch (n->tok) { case (MAN_nf): - /* FALLTHROUGH */ - case (MAN_Vb): print_otag(h, TAG_BR, 0, NULL); mh->fl |= MANH_LITERAL; - return(MAN_Vb != n->tok); + break; default: mh->fl &= ~MANH_LITERAL; break; -- cgit v1.2.3