summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2022-07-06 15:25:23 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2022-07-06 15:25:23 +0000
commitdc64d24095536e9eda2c27d5de44682dc1c14aa3 (patch)
treea203ca427584732f202cbbecdd8d314e8a0c3fd5 /usr.bin/mandoc
parenta12d45d26d76097407ee713de2993bbb0e9ed384 (diff)
assign the ARIA role "doc-subtitle" to the .Nd element;
discussed with Anna Vyalkova <cyber at sysrq dot in>
Diffstat (limited to 'usr.bin/mandoc')
-rw-r--r--usr.bin/mandoc/mdoc_html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc_html.c b/usr.bin/mandoc/mdoc_html.c
index 7d324569de5..7573c2b2b84 100644
--- a/usr.bin/mandoc/mdoc_html.c
+++ b/usr.bin/mandoc/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mdoc_html.c,v 1.223 2022/07/06 14:27:55 schwarze Exp $ */
+/* $OpenBSD: mdoc_html.c,v 1.224 2022/07/06 15:25:22 schwarze Exp $ */
/*
* Copyright (c) 2014-2022 Ingo Schwarze <schwarze@openbsd.org>
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -635,7 +635,7 @@ mdoc_nd_pre(MDOC_ARGS)
abort();
}
print_text(h, "\\(em");
- print_otag(h, TAG_SPAN, "c", "Nd");
+ print_otag(h, TAG_SPAN, "cr", "Nd", "doc-subtitle");
return 1;
}