View Single Post
Old 10-04-2010, 07:57 PM   #3
Ahmad Samir
Zealot
Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!
 
Posts: 114
Karma: 5246
Join Date: Jul 2010
Device: none
I've seen Sigil add those .sgc-# styles when I open e.g. an HTML file. I think Sigil (via libtidy?) examines the file and adds those css classes to the relevant paragraphs and at the top of the html file (like the ones you posted).

Usually Sigil gets it right with those styles, i.e. i.sgc-2 from your example is actually bold in the original file. And sometimes it adds a .sgc-# for just one line in the whole file.. So it looks like this falls under the uncontrollable-things-tidy-does-to-an-epub-sometimes, (IIRC Valloric said he'll offer an option to turn that behaviour off).
Ahmad Samir is offline   Reply With Quote