View Single Post
Old 11-20-2023, 12:16 PM   #3
Olders
Junior Member
Olders began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2023
Device: Kindle Paperwhite 11th Ed.
Quote:
Originally Posted by kovidgoyal View Post
amazon's hyphenation is likely driven by language so change the lang attributes in the HTML.
Many thanks Kovid.

The lang attribute is set to "en" in the first section of <html> in this particular book (the title page), which is correct, but none of the other root <html> elements for each of the following chapters contain the lang attribute.

Is there an easy way in calibre to automatically add the lang attribute to the <html> element for each chapter or do I have to edit the book and use Find/Replace to add the lang attribute 'manually'?

Many thanks!
Olders is offline   Reply With Quote