aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-14 00:31:43 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-14 00:31:43 +0000
commit3b9ecd40b6ed9cef16a4ce87cfc12713cd7c97e9 (patch)
treed639fc4ebeb49b6248f31790a827858216e0562b /html.h
parent438eebf7ec01fbc8167f69287d4b4ab43d49e8d8 (diff)
downloadmandoc-3b9ecd40b6ed9cef16a4ce87cfc12713cd7c97e9.tar.gz
mandoc-3b9ecd40b6ed9cef16a4ce87cfc12713cd7c97e9.tar.zst
mandoc-3b9ecd40b6ed9cef16a4ce87cfc12713cd7c97e9.zip
Revert previous, as requested by kristaps@.
The .Bf block can contain subblocks, so it has to render as an element that can contain flow content. But <em> cannot contain flow content, only phrasing content. Rendering .Em and .Bf differently would by unfortunate, and closing out .Bf before subblocks and re-opening it afterwards would merely complicate both the C code of the program and the generated HTML code. Besides, converting .Em to semantic HTML markup would require some content to be put into <em> and some into <i>, but we cannot automatically distinguish which is which, so strictly speaking, we can't use semantic HTML here but have to fall back to physical markup. Wonders of HTML...
Diffstat (limited to 'html.h')
-rw-r--r--html.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/html.h b/html.h
index d2b3a212..1f0a16d3 100644
--- a/html.h
+++ b/html.h
@@ -1,4 +1,4 @@
-/* $Id: html.h,v 1.52 2014/08/13 15:25:22 schwarze Exp $ */
+/* $Id: html.h,v 1.53 2014/08/14 00:31:43 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -50,7 +50,6 @@ enum htmltag {
TAG_I,
TAG_CODE,
TAG_SMALL,
- TAG_EM,
TAG_MAX
};