summaryrefslogtreecommitdiffstats
path: root/html.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-05-09 00:46:10 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-05-09 00:46:10 +0000
commit89fd4377ad43e25cfc8c8a1209a6a755e31f396c (patch)
treeca4a5a4056e029683a75904e9fa3e7feabb217cb /html.h
parent11a29592a98a34719ad7bda3dcb43f50af04d6a5 (diff)
downloadmandoc-89fd4377ad43e25cfc8c8a1209a6a755e31f396c.tar.gz
Fix a long-standing issue:
Some macros (Nd, Oo) can contain blocks but rendered as elements that can only contain phrasing content, resulting in invalid HTML nesting. Switch them to <div>. Also move the related "display: inline" style from the HTML to the CSS. Reminded during a conversation with John Gardner.
Diffstat (limited to 'html.h')
-rw-r--r--html.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/html.h b/html.h
index 495e0157..9bf2e524 100644
--- a/html.h
+++ b/html.h
@@ -23,6 +23,7 @@ enum htmltag {
TAG_META,
TAG_TITLE,
TAG_DIV,
+ TAG_IDIV,
TAG_H1,
TAG_H2,
TAG_SPAN,