Skip to content

Implement spec 1.2.0: dot-initial tokens, nbsp across span boundaries, elision before a quotation - #2

Merged
rogulia merged 1 commit into
mainfrom
spec-1.2.0
Sep 17, 2026
Merged

rogulia merged 1 commit into
mainfrom
spec-1.2.0

Conversation

@rogulia

@rogulia rogulia commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Vendors canonical spec 1.2.0 (spec-v1.2.0) and implements the rule changes it specifies. Bumps the package to 1.2.0.

Observable change

input before after
Use .NET, .NET Core Use.NET,.NET Core unchanged
<strong>gel :</strong> il (fr, html) <strong>gel:</strong> il <strong>gel⍽:</strong> il
d'« urine » (fr) d'«⍽urine⍽» d’«⍽urine⍽»
  • spaces: the lone-dot condition gains the word-start clause (spaces.md §3.4) — the space before a single dot is kept when the dot is followed by a letter or an ASCII digit.
  • nbsp: the inline span boundary marker is now in nbsp's CLOSEISH, read only by N1/N2's right-context guard, and still not in its OPENISH (nbsp.md §3.1, §7 item 12; modes.md §3.3).
  • apostrophe: new fixed class OPENQUOTE and case 3a — a letter followed by U+0027 and an opening quotation glyph converts to U+2019 (apostrophe.md §3.1, §3.3). Reads no locale data.

…, elision before a quotation

Vendors canonical spec 1.2.0 (`spec-v1.2.0`) and implements the rule changes it specifies. Bumps the package to 1.2.0.

**Observable change**

| input | before | after |
| --- | --- | --- |
| `Use .NET, .NET Core` | `Use.NET,.NET Core` | unchanged |
| `<strong>gel :</strong> il` (`fr`, html) | `<strong>gel:</strong> il` | `<strong>gel⍽:</strong> il` |
| `d'« urine »` (`fr`) | `d'«⍽urine⍽»` | `d’«⍽urine⍽»` |

- `spaces`: the lone-dot condition gains the word-start clause (spaces.md §3.4) — the space before a single dot is kept when the dot is followed by a letter or an ASCII digit.
- `nbsp`: the inline span boundary marker is now in nbsp's `CLOSEISH`, read only by N1/N2's right-context guard, and still not in its `OPENISH` (nbsp.md §3.1, §7 item 12; modes.md §3.3).
- `apostrophe`: new fixed class `OPENQUOTE` and case 3a — a letter followed by U+0027 and an opening quotation glyph converts to U+2019 (apostrophe.md §3.1, §3.3). Reads no locale data.
@rogulia
rogulia merged commit 974bf5a into main Sep 17, 2026
4 checks passed
@rogulia
rogulia deleted the spec-1.2.0 branch September 17, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant