View Single Post
Old 05-24-2012, 03:31 PM   #31
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,733
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by JSWolf View Post
My copy of Sigil also replaces the </p> with </h2> when I use the second header style. I have no idea why yours leaves the </p> alone.
Thats a typo on my part - my point being that leaving the class is not desired in this case. Yes if the *only* point of applying header tags was for building a TOC I can see why you would be happy with it. But the fact is that unless the original style had everything specified on it (which often it doesn't) then applying a heading tag will screw with the appearance, and you end up with a frankenstein of whatever the original text was plus whatever the defaults for the heading are.

Last edited by kiwidude; 05-24-2012 at 03:33 PM.
kiwidude is offline   Reply With Quote