12-25-2010, 06:01 PM | #1 |
Evangelist
Posts: 490
Karma: 1665031
Join Date: Nov 2010
Location: Vancouver Island, Nanaimo
Device: K2 (retired), Kobo Touch (passed to the wife), KGlo, Galaxy TabPro
|
Love Sigil, Hate HTML Tidy
As the topic says. At least I am assuming HTML Tidy is creating this problem but... anyway something is fuggering up my css code, I really like Sigil but this is starting to piss me off. I do have HTML Tidy supposedly off but it still happens.
It's taking this: <p><i class="italix"> and making this: <p class="italix sgc-1"> with this at the top of the page: <style type="text/css"> /*<![CDATA[*/ p.sgc-1 {font-style: italic} /*]]>*/ </style> It's not too much of a problem where the whole paragraph is italicized but its doing it as well were only part of the paragraph is italics. Though only if the italics are at the beginning of the paragraph. |
12-25-2010, 07:41 PM | #2 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Make a repeatable test case and create a new issue on the tracker. This shouldn't happen. Not only should it not misinterpret where the class applies, but with Tidy "off", it shouldn't try to merge elements at all.
|
Advert | |
|
12-25-2010, 08:00 PM | #3 |
Evangelist
Posts: 490
Karma: 1665031
Join Date: Nov 2010
Location: Vancouver Island, Nanaimo
Device: K2 (retired), Kobo Touch (passed to the wife), KGlo, Galaxy TabPro
|
Been going through the epub I'm working on and have been coming across > in a bunch of areas where it has taken the class from the <i> tag and moved it to the <p> so I am not sure what the heck is going on. Maybe I was working on it too late last night and screwed something up myself. If it repeats with another book I'll create an issue on the tracker for sure.
Thinking about it, I wonder if I did this: <p <i class="italix">> As it doesn't happen with every instance and I was doing a copy/paste into. [EDIT] Just did a test and that does indeed appear to be my above problem but still doesn't explain my first post as there were no telltale >... will keep looking. Last edited by Danger; 12-25-2010 at 08:05 PM. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil, HTML Tidy or PEBCAK? | DTM | Sigil | 6 | 09-26-2010 08:49 PM |
HTML Tidy problems | pdurrant | Sigil | 2 | 04-08-2010 07:38 AM |
Gen3 What do you love/hate about your Cybook - G3? | Rique | Bookeen | 66 | 09-09-2009 01:11 PM |
My love and hate | stevierg | Amazon Kindle | 9 | 03-01-2009 01:19 AM |
Love it or hate it? | grimo1re | Lounge | 9 | 08-03-2008 05:38 AM |