Register Guidelines E-Books Search Today's Posts Mark Forums Read

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


Thread Tools Search this Thread
Old 07-19-2016, 10:14 PM   #586
Junior Member
MCBastos began at the beginning.
Posts: 8
Karma: 10
Join Date: Jan 2012
Device: Nexus 4
Exclamation Text parsing bug

OK, I just noticed an odd bug with the way Generate Cover processes the data fields:
If there's an "&" character, it treats it as if it were " & " -- that is, it inserts spaces before and after the "&" character.
Which results in ugly extra spaces whenever it runs into an "&" -- like, say, for a book with two authors.
Partial workaround: manually edit the text in the "content" tab so "&" is not surrounded by spaces -- that reduces the double space to single spaces. AFAIK, however, there is no way to have the "&" surrounded by no spaces at all.

EDIT: Further experimenting revealed a few more details -- on initial load of the plugin, it performs as expected (no extra spaces). But if you change any of a variety of parameters (font size, which fields should appear on the cover etc.) then the extra spaces suddenly appear.

Last edited by MCBastos; 07-19-2016 at 10:35 PM.
MCBastos is offline   Reply With Quote
Old 07-20-2016, 06:14 AM   #587
MerlinMama began at the beginning.
MerlinMama's Avatar
Posts: 203
Karma: 10
Join Date: May 2014
Location: Canada
Device: Kobo Glo HD
I coincidentally had a cover with '&' this morning and paid attention. It should be noted that my '&' was in the title and no extra spaces appeared. I modified my author to have '&' and the extra spaces did indeed appear when I removed my custom text as a test.
MerlinMama is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Open With kiwidude Plugins 284 07-17-2016 10:22 PM
[GUI Plugin] Goodreads Sync kiwidude Plugins 863 06-26-2016 07:51 PM
[GUI Plugin] User Category kiwidude Plugins 53 11-23-2015 01:53 AM
[GUI Plugin] Quick Preferences kiwidude Plugins 32 09-13-2014 10:34 PM
[GUI Plugin] Clipboard Search kiwidude Plugins 9 08-12-2014 03:36 AM

All times are GMT -4. The time now is 07:05 PM. is a privately owned, operated and funded community.