summaryrefslogtreecommitdiffstats
path: root/man_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-05 16:14:16 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-05 16:14:16 +0000
commit6fd4c9d365c408c83f9382855b2310891154a1f7 (patch)
tree15a259292abce1f6d9a0d32a644cd43e11a241cd /man_html.c
parentdb89a3957c75469c4a73ca032acb325db8294f7a (diff)
downloadmandoc-6fd4c9d365c408c83f9382855b2310891154a1f7.tar.gz
Remove `Sp', `Vb', and `Ve' (as per schwarze@'s changes in OpenBSD),
which are now accomodated for the new libroff modifications.
Diffstat (limited to 'man_html.c')
-rw-r--r--man_html.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/man_html.c b/man_html.c
index 2c0065bd..59d4ca0a 100644
--- a/man_html.c
+++ b/man_html.c
@@ -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;