From 3b9ecd40b6ed9cef16a4ce87cfc12713cd7c97e9 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 14 Aug 2014 00:31:43 +0000 Subject: 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 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 and some into , 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... --- html.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'html.c') diff --git a/html.c b/html.c index 056d287f..d0c6f30a 100644 --- a/html.c +++ b/html.c @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.162 2014/08/13 20:34:29 kristaps Exp $ */ +/* $Id: html.c,v 1.163 2014/08/14 00:31:43 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze @@ -74,7 +74,6 @@ static const struct htmldata htmltags[TAG_MAX] = { {"i", 0 }, /* TAG_I */ {"code", 0 }, /* TAG_CODE */ {"small", 0 }, /* TAG_SMALL */ - {"em", 0 }, /* TAG_EM */ }; static const char *const htmlattrs[ATTR_MAX] = { -- cgit v1.2.3-56-ge451