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.
Attached Thumbnails 804C989F-DA93-49A7-9E02-1C48D5674650_1_201_a.jpeg
Views:	N/A
Size:	1.13 MB
ID:	186923   4D0BF57C-52B2-4F81-8F3D-3550E1A77BF6_1_201_a.jpeg
Views:	N/A
Size:	604.7 KB
ID:	186924  

Tags: Books, Workshop


May 2, 2021 at 11:33 AM How the real-life exploits of a pioneering aviatrix inspired Maggie Shipstead’s novel ‘Great Circle’
April 29, 2021 at 7:58 PM Behavior Change Through Tiny Habits
April 29, 2021 at 9:29 AM 11 of the best hotels near national parks that are so impressive, they almost upstage their majestic surroundings
April 28, 2021 at 11:05 PM April 30: comics as the new form of protest art... Discussion
April 26, 2021 at 12:51 PM 24 of the best virtual wine tastings hosted by vineyards and wine connoisseurs around the world