View Single Post
Old 09-16-2021, 04:02 PM   #5
codychan
Groupie
codychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud of
 
codychan's Avatar
 
Posts: 153
Karma: 27950
Join Date: Nov 2018
Device: Kobo Aura One, Kobo Forma
Quote:
Originally Posted by davidfor View Post
There is a problem with the way current calibre versions store the comments and the way the Kobo devices parse them. It is a known problem and has been discussed a couple of times. See Kobo Aura HD: Extra paragraph breaks in Synopsis. for an explanation and a workaround.

But, if you are stripping the HTML tags out, then it will be only how the device is handling the line breaks. How are you doing that? If you edit the comments in calibre through the metadata editor, it will always save it as HTML, not plain text.
Yes, I looked it up before this post, and I didn't pay attention to that thread since I don't know how to do the following instruction.
Quote:
Originally Posted by ownedbycats View Post
For FFF, I actually have this. I don't know if it affects things:

Code:
add_to_replace_metadata:
## Changes breaks to paragraphs in comments for better formatting
 description=><br/>=></p><p>
 description=><p>=><p align="justify">
I set a plugboard to anyformat:KOBO = ([{comments}] -> comments) and then ran a "update cached metadata." It didn't remove the extra breaks though. Did I do it wrong?
I don't understand the meaning FFF and plugboard, and then he said "I changed it to KOBOTOUCHEXTENDED", have no idea what it means.

And basically according to your reply, this is the problem Kobo device, Kobo doesn't handle it properly like Calibre Comments section.

----
UPDATE:
I found a plugin called `Clean Comments`, it is not perfect, but it is usable, at least I tried it for a book's Comments section, the space between in a list is gone, the blank lines between paragraphs become only one blank line.

Last edited by codychan; 09-16-2021 at 04:18 PM.
codychan is offline   Reply With Quote