We would like to hide a chapter subtitle from the table of contents in the PDF export.
We have tried the following that sucessfully hides the subtitles in the book’s XHTML source:
[data-id="toc"] .chapter-subtitle{
display: none !important;
}
but the subtitle remains in the final PDF export!
In this case, the source XHTML rendering does not match the final PDF output. What CSS code would you recommend?
Thanks.