Forbid breaking before closing single and double quotes in Thai text
Author: bountonwCreated Jan 2, 2026Updated Sep 28, 2026
Labelsbugtextupstream
Description
As discussed in this forum post, typst is breaking lines before closing smart quotes in Thai text. This ought not to be! Please add a rule that suppresses breaking before smart quotes in Thai text.
Use Case
Until fixed, Thai language typesetting that contains quotation marks is a game of Russian Roulette where the user hopes that the engine won't break before a quotation mark and where any slight adjustment to font size or margin requires looking through the entire document to make sure no breaks occurred before any quotation marks.
Source: typst/typst