diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-05-09 00:46:10 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-05-09 00:46:10 +0000 |
commit | 89fd4377ad43e25cfc8c8a1209a6a755e31f396c (patch) | |
tree | ca4a5a4056e029683a75904e9fa3e7feabb217cb /html.h | |
parent | 11a29592a98a34719ad7bda3dcb43f50af04d6a5 (diff) | |
download | mandoc-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -23,6 +23,7 @@ enum htmltag { TAG_META, TAG_TITLE, TAG_DIV, + TAG_IDIV, TAG_H1, TAG_H2, TAG_SPAN, |