diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2021-09-09 14:47:24 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2021-09-09 14:47:24 +0000 |
commit | 21953bde4dc3bc33d48ae573a715c65815d899e3 (patch) | |
tree | f58964405e9cbeff8f86fa27f7a8fc6225de8333 /html.c | |
parent | 1db067df52b2cf1bc3a5196fc4a62bab34cb69e4 (diff) | |
download | mandoc-21953bde4dc3bc33d48ae573a715c65815d899e3.tar.gz |
If the layout or data of an individual cell in a tbl(7) contains
only "_", "-", or "=", requesting a horizontal line to be drawn
across the middle of the cell, print <hr/> in that cell in HTML
output.
That is arguably slightly ugly because HTML 5 regards <hr/> as
semantic markup, meaning "thematic break". If somebody knowns
a better way to render a horizontal line across the middle of a
table cell with pure HTML and CSS, and without implying a specific
meaning, please tell me.
Missing feature reported by <Oliver dot Corff at email dot de>.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -91,6 +91,7 @@ static const struct htmldata htmltags[TAG_MAX] = { {"span", HTML_INPHRASE | HTML_TOPHRASE}, {"var", HTML_INPHRASE | HTML_TOPHRASE}, {"br", HTML_INPHRASE | HTML_NOSTACK | HTML_NLALL}, + {"hr", HTML_INPHRASE | HTML_NOSTACK}, {"mark", HTML_INPHRASE }, {"math", HTML_INPHRASE | HTML_NLALL | HTML_INDENT}, {"mrow", 0}, |