From 3c108d947a624e135d08d83b7ea367ac8e549d98 Mon Sep 17 00:00:00 2001 From: Jules Bertholet Date: Wed, 17 Jun 2026 19:07:28 -0400 Subject: [PATCH] Fix mistake in the specification of Arabic lam-alef ligature Brings the text in line with what we actually do, and test for in `test_arabic_lam_alef()`. Notably affects U+1E94B --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 6d8b38e..87debbc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -70,7 +70,7 @@ //! ligatures, the insertion of any number of [`'\u{200D}'` ZERO WIDTH JOINER](https://www.unicode.org/versions/Unicode16.0.0/core-spec/chapter-23/#G23126)s //! will not affect the width. //! - **[Arabic]**: A character sequence consisting of one character with [`Joining_Group`]`=Lam`, -//! followed by any number of characters with [`Joining_Type`]`=Transparent`, followed by one character +//! followed by any number of zero-width characters with [`Joining_Type`]`=Transparent`, followed by one character //! with [`Joining_Group`]`=Alef`, has total width 1. For example: `لا`‎, `لآ`‎, `ڸا`‎, `لٟٞأ` //! - **[Buginese]**: `"\u{1A15}\u{1A17}\u{200D}\u{1A10}"` ( ya, `ᨕᨗ‍ᨐ`) has total width 1. //! - **[Hebrew]**: `"א\u{200D}ל"` (Alef-Lamed, `א‍ל`) has total width 1.