![]() |
#1 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,590
Karma: 315126578
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
HTML Tidy problems
When using Sigil as a way to quickly edit existing ePubs, there's a problem - HTML Tidy. It globally changes all the HTML, and sometimes breaks things in a user-visible way. (e.g. adding spaces between span elements.)
While the ideal solution is for HTML tidy not to change or break valid XHTML, what do you think of the idea of adding in a preference to turn off the application of HTML tidy? |
![]() |
![]() |
![]() |
#2 |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
I've been thinking about this for a while, and I'm not sure it would be possible. Large parts of Sigil depend on the HTML documents being valid XML (thus XHTML). Tidy makes sure that's always true.
What I could provide is an option to turn off the "clean" switch for Tidy. I'm guessing that's causing most of your problems. And AFAIK I fixed the span spaces bug. Do you have reason to believe it has resurfaced? |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,590
Karma: 315126578
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil, HTML Tidy or PEBCAK? | DTM | Sigil | 6 | 09-26-2010 08:49 PM |
Problems with html containing SmartQuotes, etc. | frquixote | Calibre | 3 | 02-08-2010 03:21 AM |
Problems loading HTML files in v6.11 | jackie_w | Calibre | 2 | 09-10-2009 01:47 PM |
problems w/ HTML to LRF | the7gerbers | LRF | 8 | 02-25-2009 02:44 PM |
Problems with packaged HTML and pagebar | b_k | iRex | 6 | 09-09-2006 06:35 AM |