View Single Post
Old 05-04-2021, 02:34 PM   #3
morty92222
Enthusiast
morty92222 began at the beginning.
 
morty92222's Avatar
 
Posts: 35
Karma: 10
Join Date: Dec 2019
Device: Kindle Paperwhite
Quote:
Originally Posted by jhowell View Post
I don't know why, but Amazon's conversion to KFX inserts a zero width space before and after the quote marks generated by the <q> element, which allows a line break there. To avoid that use the left double quotation mark and right double quotation mark Unicode characters instead of <q>.



That is done by default in KFX to avoid widows and orphans, which are single lines at the top or bottom of a page. You can disable that by setting the widows:1 and orphans:1 properties in CSS. (More information in this thread.)

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?
morty92222 is offline   Reply With Quote