Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 04-08-2010, 05:22 AM   #1
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 32,832
Karma: 89897838
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
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?
pdurrant is online now   Reply With Quote
Old 04-08-2010, 08:18 AM   #2
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
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?
Valloric is offline   Reply With Quote
 
Advertisement
Old 04-08-2010, 08:38 AM   #3
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 32,832
Karma: 89897838
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Quote:
Originally Posted by Valloric View Post
And AFAIK I fixed the span spaces bug. Do you have reason to believe it has resurfaced?
Apologies - I hadn't checked recently. Good news. I'll give it another go!
pdurrant is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil, HTML Tidy or PEBCAK? DTM Sigil 6 09-26-2010 09:49 PM
Problems with html containing SmartQuotes, etc. frquixote Calibre 3 02-08-2010 04:21 AM
Problems loading HTML files in v6.11 jackie_w Calibre 2 09-10-2009 02:47 PM
problems w/ HTML to LRF the7gerbers LRF 8 02-25-2009 03:44 PM
Problems with packaged HTML and pagebar b_k iRex 6 09-09-2006 07:35 AM


All times are GMT -4. The time now is 12:48 PM.


MobileRead.com is a privately owned, operated and funded community.