From 25b75b706ffc64f5a638816086772c8e8ff03903 Mon Sep 17 00:00:00 2001 From: cottongin Date: Tue, 27 Jan 2026 07:31:26 -0500 Subject: [PATCH] fix: Allow line break after ellipsis and underscore (#425) Cherry-picked from upstream PR #425 --- lib/Epub/Epub/hyphenation/HyphenationCommon.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Epub/Epub/hyphenation/HyphenationCommon.cpp b/lib/Epub/Epub/hyphenation/HyphenationCommon.cpp index 99584fd..0a6b7a9 100644 --- a/lib/Epub/Epub/hyphenation/HyphenationCommon.cpp +++ b/lib/Epub/Epub/hyphenation/HyphenationCommon.cpp @@ -125,6 +125,8 @@ bool isExplicitHyphen(const uint32_t cp) { case 0xFE58: // small em dash case 0xFE63: // small hyphen-minus case 0xFF0D: // fullwidth hyphen-minus + case 0x005F: // Underscore + case 0x2026: // Ellipsis return true; default: return false;