Skip to content

Fix short word warning triggering on 2-cell words with rebuses - #592

Merged
mdirolf merged 3 commits into
crosshare-org:masterfrom
andrewting:fix-shortwords-rebus
Sep 24, 2026
Merged

mdirolf merged 3 commits into
crosshare-org:masterfrom
andrewting:fix-shortwords-rebus

Conversation

@andrewting

Copy link
Copy Markdown
Contributor

Fixes #587

Evidence of fix

clue eg publish warnings eg cropped
  • 2-cell words containing rebuses (IPAD and DPAD) no longer trigger a publish warning.
  • 2-letter words (ID and II) continue to trigger a warning.
  • 1-cell words (HI) are not considered clueable (same as before).

Test case

I've also added a corresponding test case. It took me longer than I'd care to admit to work out the empty strings in the other test cases represent unfilled cells rather than blocks. I'm hoping the added unicode crossword comment makes the logic clearer for future new devs.

@mdirolf

mdirolf commented Sep 24, 2026

Copy link
Copy Markdown
Member

Thank you!

@mdirolf
mdirolf merged commit 1430d97 into crosshare-org:master Sep 24, 2026
1 check passed
@mdirolf

mdirolf commented Sep 24, 2026

Copy link
Copy Markdown
Member

We probably should add a warning for isolated 1 letter entries like that but that'd be a separate issue

@andrewting
andrewting deleted the fix-shortwords-rebus branch September 26, 2026 09:49
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-Letter Word warning does not consider rebuses

2 participants