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 11-30-2016, 01:52 PM   #1
rferran
Junior Member
rferran began at the beginning.
 
rferran's Avatar
 
Posts: 8
Karma: 10
Join Date: Feb 2013
Device: Hanlin V3+
Non breaking space (possible) bug

Hi,
I'm using Sigil 0.9.5 with Qt 5.5.1 running on a Lubuntu 16.04 machine.
The attached epub test file have only 3 lines of text in section0001.xhtml.
First line includes an   entity (non breaking space). Second one have an & entity. And third one have no entities.
When editing text in book view (say, by example, delete or add a space to the third line), the non breaking spaces of the first line are duplicated in the code view. Entity of line 2 is not duplicated.
Toggling to book view, editing something, and returning to code view, duplicates all nbsp entities in xhtml section. Successive changes with toggle views result in an exponentially duplication on this nbsp entities.
Attached Files
File Type: epub test1.epub (1.8 KB, 164 views)
rferran is offline   Reply With Quote
Old 11-30-2016, 03:39 PM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
It's bug in the version of libxml2 on your system. It's been fixed before. and has resurfaced again. Unfortunately, no one can seem to get the maintainer of libxml2 to take any notice.

In the meantime, I've created a bug free version of libxml2 that can be installed alongside Sigil (does not affect the system version of libxml2 at all). There's a sticky thread here that describes how to install the workaround to an existing sigil installation.

https://www.mobileread.com/forums/sho...d.php?t=277628
DiapDealer is online now   Reply With Quote
Advert
Old 12-02-2016, 12:14 PM   #3
rferran
Junior Member
rferran began at the beginning.
 
rferran's Avatar
 
Posts: 8
Karma: 10
Join Date: Feb 2013
Device: Hanlin V3+
Thank you, DiapDealer.
Your bug free version of lixml2 for Sigil works fine; thanks again.

Greetings from Barcelona!
rferran is offline   Reply With Quote
Old 12-02-2016, 12:33 PM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
No problem. Glad it worked for you.
DiapDealer 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
Non-breaking space JSWolf ePub 38 06-09-2020 09:00 PM
Non-Breaking space drago87 Conversion 0 01-20-2016 05:52 AM
Why the non-breaking space? Notjohn Sigil 2 06-08-2015 05:24 AM
Non-breaking space (doubled) bug Camelot Sigil 49 02-13-2015 04:20 PM
Troubleshooting Kindle Touch and non-breaking space utilitasetverita Amazon Kindle 4 09-05-2014 01:46 PM


All times are GMT -4. The time now is 09:32 PM.


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