-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
A-HTMLArea: HTML RenderingArea: HTML RenderingA-LocalizationArea: Localization, language support, etc.Area: Localization, language support, etc.C-enhancementCategory: Enhancement or feature requestCategory: Enhancement or feature request
Description
Problem
Currently, when enabling output.html.smart-punctuation, double quotes in the HTML output are rendered as curly quotes. However, these curly quotes are not appropriate or standard for many languages - as detailed in this overview.
Proposed Solution
Instead of replacing straight double quotes with curly quotes when smart-punctuation is enabled, the renderer should use the HTML <q>
tag. This would allow browsers to render quotation marks according to the book's language metadata in book.toml with fallback options to the user's locale or browser language settings.
Notes
No response
Metadata
Metadata
Assignees
Labels
A-HTMLArea: HTML RenderingArea: HTML RenderingA-LocalizationArea: Localization, language support, etc.Area: Localization, language support, etc.C-enhancementCategory: Enhancement or feature requestCategory: Enhancement or feature request