diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-05-29 02:10:10 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-05-29 02:10:10 +0000 |
commit | 1b77b3206799accd714dfcfe5e1d600716383372 (patch) | |
tree | 8e7d701f8d1c4976a5b43312fe9692d073606848 /html.c | |
parent | 63a479e7ee9cd5025e61de1f3edf07944f7ef66f (diff) | |
download | mandoc-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.c | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -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(); |