![]() |
#1 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Oct 2019
Device: Kobo Aura HD, Pocketbook InkPad 3 (PB740)
|
Calibre 4/4.1 "Metadata Edit" (HTML-view) changed behaviour
With v4 I've noticed a new behaviour within "Edit Metadata" as html-view.
From v4 on there seem to be additions to the html-text in form of cr/lf or cr or lf characters. In practice this looks like this: "<div> <p>some text</p>...." In general, versions before v4 left any html-text untouched, i.e. the text above had looked like: "<div><p>some text</p>...." This behaviour attracted my attention because I filter off all unwanted tags or garbage out of descriptions with an external little helper - and explicitly this little helper strips any cr/lf combination out of descriptions (and unnessary blanks and whatnot). But whenever I open up a sanitized description with the v4 versions the shown behaviour results. (Generally, I wouldn't mind cr/lf whithin html-text - these are legal and allowed within html, so why shouldn't they show up within Calibre; but since my Kobo Aura HD read and displayed the descriptions without cr... and it saved a little space, I had removed them) |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,261
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes this is behavior of the Qt Rich Text Edit widget, sadly not much I can do about it. Read https://calibre-ebook.com/new-in/thirteen for details
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre 4.1.0 "Edit Metadata" Freezes Calibre | Xntrikbohemian | Library Management | 9 | 10-13-2019 09:34 PM |
Edit Metadata on iPad, then sync edits to Calibre "master"? | BillCalibre | Calibre Companion | 5 | 07-09-2017 01:05 PM |
series_index gets reset to [1] using "edit metadata in bulk, basic metadata" | Boekenworm | Library Management | 4 | 11-25-2013 06:51 PM |
Alter Double-click behaviour to "edit metadata" instead of "open ebook?" | Feather_Qwill | Library Management | 5 | 09-15-2013 11:20 AM |
How do you "apply" newly changed metadata to the ebook itself? | MelBr | Calibre | 5 | 02-16-2013 12:24 PM |