Skip to content

Fix zalgo's minimum and maximum usage#29

Merged
psethwick merged 1 commit intopsethwick:masterfrom
gfixler:gfixler-zalgo-patch
Feb 23, 2025
Merged

Fix zalgo's minimum and maximum usage#29
psethwick merged 1 commit intopsethwick:masterfrom
gfixler:gfixler-zalgo-patch

Conversation

@gfixler
Copy link
Contributor

@gfixler gfixler commented Feb 19, 2025

The combining marks were being overwritten every loop, so only the last one in the loop was kept. Regardless of minimum and maximum, it only ever added one combining mark to each letter. I just moved the creation base letter to above the loop, and moved adding of the fully combined form to the translations dictionary to below the loop.

The combining marks were being overwritten every loop, so only the last one in the loop was kept. Regardless of minimum and maximum, it only ever added one combining mark to each letter. I just moved the creation base letter to above the loop, and moved the adding of the fully combined form to the translations dictionary to below the loop.
@psethwick psethwick merged commit 30a7d2d into psethwick:master Feb 23, 2025
1 check passed
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.

2 participants