View Single Post
Old 05-10-2014, 08:18 AM   #11
toothpicz
Junior Member
toothpicz will become famous soon enoughtoothpicz will become famous soon enoughtoothpicz will become famous soon enoughtoothpicz will become famous soon enoughtoothpicz will become famous soon enoughtoothpicz will become famous soon enough
 
toothpicz's Avatar
 
Posts: 6
Karma: 610
Join Date: Aug 2011
Device: Calibre, FBreader(android)
Quote:
The replace is:
Code:
<p class="calibre2"><span class="bold"><h3>\1</h3></span></p>
But, I am pretty sure you can't have a heading within a paragraph. What I would use is:
Code:
<h3 class="calibre2">\1</h3>
I would check that the class "calibre2" didn't remove the bold from the usual heading definition.
I'm using the first, and it works. Thanks!
As for the second, since everything in that book starts with the p class and span tags, I don't think I'll want to risk it and change anything too major. But thanks anyway for an alternative solution.
toothpicz is offline   Reply With Quote