|
|
#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. |
|
|
|
|
|
#2 | ||
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,162
Karma: 92500001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
Quote:
|
||
|
|
|
| Advert | |
|
|
|
|
#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? |
|
|
|
|
|
|
#4 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,162
Karma: 92500001
Join Date: Nov 2011
Location: Charlottesville, VA
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 06:44 AM |
| HTML input plugin stripping text within toc tags in child html file | nimblebooks | Conversion | 3 | 02-21-2012 04:24 PM |
| How to prevent adding tags? | Piper65 | Library Management | 17 | 01-21-2011 09:17 AM |
| Prevent Calibre to paragraph each line | armkbdotcom | Calibre | 3 | 05-29-2010 04:15 PM |
| Prevent downloading tags when fetching metadata? | Hi! | Calibre | 4 | 09-06-2009 09:42 AM |