05-04-2021, 03:28 AM | #1 |
Enthusiast
Posts: 38
Karma: 10
Join Date: Dec 2019
Device: Kindle Paperwhite
|
How to prevent line-break before and after html tags?
So, I am using <q> and </q> to create « and ».
However, when I convert the epub to KFX, these tags allow for line-breaks before and after themselves sparingly. I attached a picture. The text direction is rtl. Finally, why does Kindle leaves so much space at the bottom. It is not always present. But I can't determine based on what it leaves space or start the new paragraph. The only thing I could think of is that if the following paragraph less than 2 lines, it does not start it on the previous page as not to leave one line by itself on the following page. |
05-04-2021, 10:10 AM | #2 | ||
Grand Sorcerer
Posts: 6,630
Karma: 85000001
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
Quote:
Quote:
|
||
05-04-2021, 01:34 PM | #3 | |
Enthusiast
Posts: 38
Karma: 10
Join Date: Dec 2019
Device: Kindle Paperwhite
|
Quote:
Thank you so much! If I use the unicode, there won't be a method to control the <q> from css. For example, using <q> allows me to use quotes property to change which characters to use as quotations. Is there a way to keep that? |
|
05-04-2021, 02:12 PM | #4 |
Grand Sorcerer
Posts: 6,630
Karma: 85000001
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
As far as I can tell if you use <q> for quotes in KFX it will always allow line breaks on either side of them. I don't know of any way to prevent that.
|
Tags |
conversion, epub, kfx, kindle |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to prevent calibre add a blank line at every <p> | Nick_1964 | Conversion | 12 | 11-26-2013 05:44 AM |
HTML input plugin stripping text within toc tags in child html file | nimblebooks | Conversion | 3 | 02-21-2012 03:24 PM |
How to prevent adding tags? | Piper65 | Library Management | 17 | 01-21-2011 08:17 AM |
Prevent Calibre to paragraph each line | armkbdotcom | Calibre | 3 | 05-29-2010 03:15 PM |
Prevent downloading tags when fetching metadata? | Hi! | Calibre | 4 | 09-06-2009 08:42 AM |