summaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-07-14 16:06:44 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-07-14 16:06:44 +0000
commite1926dad13331d995f227c3347ddcedb77fe1688 (patch)
tree4f0a6aa4402df6b45dfc6165b8bbdb19b17e17c6 /html.c
parent0a3fdda2fdfc6e87b86c158cca5f54f59f302ddf (diff)
downloadmandoc-e1926dad13331d995f227c3347ddcedb77fe1688.tar.gz
Handle .Bl -compact via CSS rather than writing individual style
attributes into .It blocks; suggested by Steffen Nurpmeso <steffen at sdaoden dot eu> on <groff at GNU dot org> in April 2017. Delete margin-bottom and margin-top style names and the 'v' argument letter from print_otag() because they are no longer used.
Diffstat (limited to 'html.c')
-rw-r--r--html.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/html.c b/html.c
index c02739cc..c9c8088e 100644
--- a/html.c
+++ b/html.c
@@ -623,11 +623,6 @@ print_otag(struct html *h, enum htmltag tag, const char *fmt, ...)
case 'u':
su = va_arg(ap, struct roffsu *);
break;
- case 'v':
- i = va_arg(ap, int);
- su = &mysu;
- SCALE_VS_INIT(su, i);
- break;
case 'w':
if ((arg2 = va_arg(ap, char *)) == NULL)
break;
@@ -652,9 +647,6 @@ print_otag(struct html *h, enum htmltag tag, const char *fmt, ...)
/* Second letter: style name. */
switch (*fmt++) {
- case 'b':
- attr = "margin-bottom";
- break;
case 'h':
attr = "height";
break;
@@ -664,9 +656,6 @@ print_otag(struct html *h, enum htmltag tag, const char *fmt, ...)
case 'l':
attr = "margin-left";
break;
- case 't':
- attr = "margin-top";
- break;
case 'w':
attr = "width";
break;