aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-06-25 16:54:59 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-06-25 16:54:59 +0000
commit5ebbd9993eadbd888eabc3839eb6d050614bf83d (patch)
treebb434e0c250f685f5e7c8b97d078baa5549be999 /mdoc_html.c
parentad1184bd182b6e22f60994fe3cb07fe6715559ed (diff)
downloadmandoc-5ebbd9993eadbd888eabc3839eb6d050614bf83d.tar.gz
mandoc-5ebbd9993eadbd888eabc3839eb6d050614bf83d.tar.zst
mandoc-5ebbd9993eadbd888eabc3839eb6d050614bf83d.zip
Delete substantial amounts of code
now that we no longer use variable style= attributes.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 93458a92..b8b3e1e8 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.308 2018/06/25 14:06:07 schwarze Exp $ */
+/* $Id: mdoc_html.c,v 1.309 2018/06/25 16:54:59 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014,2015,2016,2017,2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -719,8 +719,7 @@ mdoc_it_pre(MDOC_ARGS)
break;
case ROFFT_BODY:
if (n->child == NULL) {
- print_otag(h, TAG_DD, "ss?",
- "width", "auto");
+ print_otag(h, TAG_DD, "s", "width", "auto");
print_text(h, "\\ ");
} else
print_otag(h, TAG_DD, "");
@@ -1175,7 +1174,7 @@ mdoc_fn_pre(MDOC_ARGS)
for (n = n->child->next; n; n = n->next) {
if (NODE_SYNPRETTY & n->flags)
- t = print_otag(h, TAG_VAR, "cTss?", "Fa",
+ t = print_otag(h, TAG_VAR, "cTs", "Fa",
"white-space", "nowrap");
else
t = print_otag(h, TAG_VAR, "cT", "Fa");