From 0bd2db2b9660b77c8496347e7394a7caabecfdb8 Mon Sep 17 00:00:00 2001 From: aiongg <67543387+aiongg@users.noreply.github.com> Date: Mon, 12 Oct 2026 13:40:58 +0000 Subject: [PATCH] fix: write a colon in a style group's name as \: in its Self and Name --- docs/format/objects.md | 6 ++++++ docs/format/unknowns.md | 1 - src/idml/format.rs | 18 ++++++++++++++++++ src/idml/mod.rs | 7 ++----- src/idml/styles.rs | 37 +++++++++++++------------------------ 5 files changed, 39 insertions(+), 30 deletions(-) diff --git a/docs/format/objects.md b/docs/format/objects.md index f8ce8a6..5fa8e36 100644 --- a/docs/format/objects.md +++ b/docs/format/objects.md @@ -2872,6 +2872,12 @@ top-level group, joined by `:`, as in its `Self`: paragraph style groups, 25 of 25 character style groups and 2 of 2 object style groups (three levels at most); top-level groups have `$ID/` and their name (622 of 622). +A `:` inside a group's name is written `\:`, as in a style's own name +(below): such a group has `Name="$ID/\: "` and +`Self="ParagraphStyleGroup/$ID/\%3a "`, and its styles have +`Name="\: :