Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 01-23-2014, 02:36 PM   #1
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
When you create an input program for the editor

When you create a module that opens HTML files, how about converting all the U+2029 characters to <br />? It would make it much easier to search for. For what it is worth, that is what Sigil does, if that is any recommendation. It does create a lot of needless ones which must be disposed of. How about just filtering them out when the HTML is imported?

I have had to run the search several ways to locate all instances of this character which can not be accessed with \u2029 in Find. I tried pasting out of insert special characters and that didn't do the job. It seems to be searchable only when combined with another character.
mrmikel is offline   Reply With Quote
Old 01-23-2014, 11:12 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,267
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
One cannot just replace it with <br> ad hoc, that could create invalid HTML, not to mention change how the document renders.

Because Qt uses U+2029 internally, you will not be able to do a find replace for it in an open editor. Instead open the opf file and then do a find replace selecting all text files as the target. That should do the trick.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-24-2014, 06:41 AM   #3
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Thanks very much. That should take care of it.
mrmikel is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New program: EPub Metadata Editor BenChen ePub 284 01-01-2025 11:46 PM
Taking over touch screen input + a simple drawing program. JoppyFurr Kindle Developer's Corner 11 07-28-2012 07:25 PM
Program To Create Magazines Nathan Campos Writers' Corner 4 04-08-2011 01:05 PM
What program is used to create the lrf uploads? corroonb Upload Help 5 08-09-2009 01:19 PM
Free program today only - Create software boxes and ebook covers Dr. Drib Deals and Resources (No Self-Promotion or Affiliate Links) 4 02-09-2009 08:08 PM


All times are GMT -4. The time now is 04:39 PM.


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