Skip to content

fix(styles): don't turn plain punctuation into styled lookalikes when learning words (#983) - #986

Merged
LeanBitLab merged 1 commit into
mainfrom
fix/learned-words-apostrophe
Nov 28, 2026
Merged

LeanBitLab merged 1 commit into
mainfrom
fix/learned-words-apostrophe

Conversation

@LeanBitLab

Copy link
Copy Markdown
Owner

UnicodeStyleEngine.toPlainText runs on every learned word. Its reverse table only skipped letter-to-letter swaps, so the upside-down style's ' <-> , swap turned "I'm" into "I,m" (also 6/9, </>). Plain ASCII is never treated as styled now.

Words already learned with a comma stay until deleted in Learned words.

UnicodeStyleEngineTest (new ASCII test), CustomTextStylesTest and InputLogicTest pass.

Part of #983.

https://claude.ai/code/session_017YwBxS1AFMMTMRfvDSKqCR

… learning words (#983)

toPlainText runs on every learned word. Its reverse table only skipped letter-to-letter swaps, so the upside-down style turned the apostrophe into a comma ("I'm" was learned as "I,m"). Plain ASCII is no longer reversed.
@LeanBitLab
LeanBitLab merged commit 7807bbd into main Nov 28, 2026
1 check passed
@LeanBitLab
LeanBitLab deleted the fix/learned-words-apostrophe branch November 28, 2026 08:56
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