Hi!
I have a part title with a <span>
tag:
Part V. Agent-based models <span>vs</span> ODE models
I do this to be able to control the format of the word “vs”:
/* This is a trick so you can force anything you put into
to be lower case. It is done for the "vs" in
"PART V. AGENT-BASED MODELS vs ODE MODELS" */
.part-title span {
text-transform:lowercase;
}
This dirty trick (constructive criticism and suggestions are most welcome) works like a charm except for the table of contents in the EPUB export. There, the part title appears as:
Part V. Agent-based models <span>vs</span> ODE models
The reason, presumably, is how the above line is coded in the file “table-of-contents.xhtml” inside the EPUB:
<span class="toc-chapter-title">Part V. Agent-based models <span>vs</span> ODE models</span>
As you can see, < has been transformed into <
and > into >
Any ideas on how to fix this?
(Either the general problem I pose here, or my specific problem, by modifying my dirty trick)
Thanks!