![]() |
#1 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |