aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-05-29 02:10:10 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-05-29 02:10:10 +0000
commit1b77b3206799accd714dfcfe5e1d600716383372 (patch)
tree8e7d701f8d1c4976a5b43312fe9692d073606848 /html.c
parent63a479e7ee9cd5025e61de1f3edf07944f7ef66f (diff)
downloadmandoc-1b77b3206799accd714dfcfe5e1d600716383372.tar.gz
mandoc-1b77b3206799accd714dfcfe5e1d600716383372.tar.zst
mandoc-1b77b3206799accd714dfcfe5e1d600716383372.zip
Delete support for the print_otag(sw) * and - modifiers,
which are no longer used because we write fewer style= attributes.
Diffstat (limited to 'html.c')
-rw-r--r--html.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/html.c b/html.c
index 709c43fa..0d6b67ce 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.230 2018/05/28 14:13:36 schwarze Exp $ */
+/* $Id: html.c,v 1.231 2018/05/29 02:10:10 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011-2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -694,12 +694,6 @@ print_otag(struct html *h, enum htmltag tag, const char *fmt, ...)
su = &mysu;
a2width(arg2, su);
}
- if (*fmt == '*') {
- if (su != NULL && su->unit == SCALE_EN &&
- su->scale > 5.9 && su->scale < 6.1)
- su = NULL;
- fmt++;
- }
if (*fmt == '+') {
if (su != NULL) {
/* Make even bold text fit. */
@@ -709,11 +703,6 @@ print_otag(struct html *h, enum htmltag tag, const char *fmt, ...)
}
fmt++;
}
- if (*fmt == '-') {
- if (su != NULL)
- su->scale *= -1.0;
- fmt++;
- }
break;
default:
abort();