Closed edwoodward closed 10 years ago
There is a markup issue with table captions in the history collection. The title text needs to be inside a span element with additional classes applied:
<span class="table-caption caption">Examples of Modern Prejudice</span>
Is this how have handled table titles in other books? I don't see it in the tagging legends.
Yes, and the styling for this is using a skeleton which is derived from a chain of books; history -> psychology->precalculus etc all are using the same selectors.
It may be that this markup is automatically generated during transforms and something there changed?
For Phil's benefit:
Old books used:
<caption xmlns="http://www.w3.org/1999/xhtml">
<span class="cnx-gentext-caption cnx-gentext-t">Table </span>
<span class="cnx-gentext-caption cnx-gentext-n">1.1. </span>
<span class="table-caption caption">Examples of Modern Prejudice</span>
</caption>
and history is generating:
<caption xmlns="http://www.w3.org/1999/xhtml">
<span class="cnx-gentext-caption cnx-gentext-t">Table </span>
<span class="cnx-gentext-caption cnx-gentext-n">1.1. </span>
Parliament Acts and Colonial Responses
</caption>
There is a problem with the cnxml in the history module. Previous books use
<caption>
and this book is using
<title>
We will correct the markup.
This is fixed.
In PDF at naginata.cnx.rice.edu:9090/content/col10023/latest/ In Template: