There is a bug in the HTML, XHTML, XHTML 1.1, and (therefore) EPUB stylesheets that outputs an empty <p class="title"> containing a <b> when a DocBook 5.0 (?) sidebar does not have a title.
I've been having issues with epub output of a docbook 5 project. This
problem does NOT occur when I use the HTML chunk XSL transform.
I have 3 questions:
1. why does epub HTML output for sidebar.title include a <b/> tag?
2. why does <b/> in Firefox and IE cause all remaining html
paragraphs to render as bold when a title element in sidebar is empty?
3.is there a docbook way to suppress the display of the
sidebar.title? (I know you could do it in css).
If sidebar.title is to be visible, it would seem odd for the html
output to use <b> (instead of <strong> for example).
I have a test project with xincludes, a customization layer and a
title.xsl generated by titlepage.templates.xml . Below is a version of
it without xincludes to illustrate the problem.
The main index.xml file validates even if I fail to put a title
element inside the sidebar. All text following it in the browser (IE
& firefox) will be bold as a result of the b tags. The same thing
will happen if I include an empty title here. If I include a title tag
with a value, everything will render correctly (although the <b> tag
Looking at docbook reference
http://www.docbook.org/tdg5/en/html/sidebar.html , I see that sidebar
requires a title --even though my docbook validated just fine without