![]() |
#16 | |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Quote:
|
|
![]() |
![]() |
![]() |
#17 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
I'm sure you know this, Geoff, but "<p height="40">" is Mobi markup, not ePub. It's also horribly dependent on the resolution of the device - much better to specify a margin in em units, not pixels.
|
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,575
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
The benefit is that source documents that contain the unicode non-breaking-space character (which won't survive in the Qt editing widget) can be opened/imported without breaking the well-formed "rules" (which is what was happening when non-breaking-space characters were being converted to the nbsp entity in documents with no Document Type Declaration). I agree it's probably not optimal, but without a major overhaul of Sigil's codebase/structure (which doesn't seem likely at this point), using #160 rather than nbsp was simply the quickest band-aid for a hairy problem. |
|
![]() |
![]() |
![]() |
#19 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Thanks - I must have overlooked those discussions.
|
![]() |
![]() |
![]() |
#20 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,575
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
The good news is: if you don't deal with the unicode non-breaking-space character at all (and all your html files contain the "standard" XHTML 1.1 DOCTYPE declaration), you can continue to use Sigil 0.7.3 with no issues (it's what I do). The #160 vs nbsp handling is the only real functional difference between 0.7.3 and 0.7.4.
(0.7.4 also represents the first disk-image available for OS X in a while, but that's another issue entirely). |
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,575
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
I would guess it might be limited to the Mac version of 0.7.4 which was built with an early beta version of Qt5.2 (because previous versions of Qt5's packaging tools had broken user_none's method of creating the OSX packages). Perhaps someone might be able to build an OSX app package with the latest Qt5.2 release and see if the problem goes away? Sorry I couldn't be more help. |
|
![]() |
![]() |
![]() |
#22 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,064
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#23 | |
Member
![]() Posts: 13
Karma: 10
Join Date: Dec 2013
Location: Sydney, Australia
Device: Kindle
|
Quote:
By the way, in my version there is still an "Insert Special Character" option for &nsbp; which is a bit at odds with your statement that the expected behaviour is to replace this? Has that been changed as well? Geoff Last edited by Geoff_C8; 01-01-2014 at 07:45 PM. |
|
![]() |
![]() |
![]() |
#24 | |
Member
![]() Posts: 13
Karma: 10
Join Date: Dec 2013
Location: Sydney, Australia
Device: Kindle
|
Quote:
Geoff. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Enter text in Book View or Code View | ronaldl | Sigil | 5 | 10-29-2012 03:12 PM |
replace in book view changes view to code view | cybmole | Sigil | 4 | 10-28-2012 01:20 PM |
Sigil highlight Book View No Longer Shows in Code View | Themus | Sigil | 4 | 10-04-2012 07:54 PM |
quotes differences book view & code view | cybmole | Sigil | 13 | 03-29-2011 01:53 AM |
lock book view & code view windows into synch | cybmole | Sigil | 5 | 01-19-2011 10:30 PM |