summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/html.h
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2019-03-01 10:48:58 +0000
committerschwarze <schwarze@openbsd.org>2019-03-01 10:48:58 +0000
commit1a2b7b3c4d50fc376dd60744134889875b5dd88f (patch)
treee8fc0280f4d20a2270f706ef7b70efee72980877 /usr.bin/mandoc/html.h
parentPrint usage on extra create, start and stop arguments (diff)
downloadwireguard-openbsd-1a2b7b3c4d50fc376dd60744134889875b5dd88f.tar.xz
wireguard-openbsd-1a2b7b3c4d50fc376dd60744134889875b5dd88f.zip
Wrap .Sh/.SH sections and .Ss/.SS subsections in HTML <section> elements
as recommended for accessibility by the HTML 5 standard. Triggered by a similar, but slightly different suggestion from Laura Morales <lauretas at mail dot com>.
Diffstat (limited to 'usr.bin/mandoc/html.h')
-rw-r--r--usr.bin/mandoc/html.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/html.h b/usr.bin/mandoc/html.h
index 7f23401ad97..253a2423523 100644
--- a/usr.bin/mandoc/html.h
+++ b/usr.bin/mandoc/html.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: html.h,v 1.63 2019/01/18 14:36:16 schwarze Exp $ */
+/* $OpenBSD: html.h,v 1.64 2019/03/01 10:48:58 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2017, 2018, 2019 Ingo Schwarze <schwarze@openbsd.org>
@@ -24,6 +24,7 @@ enum htmltag {
TAG_TITLE,
TAG_DIV,
TAG_IDIV,
+ TAG_SECTION,
TAG_H1,
TAG_H2,
TAG_SPAN,