Skip to content

fix: preserve slashes in Bear nested tags#331

Merged
backnotprop merged 1 commit into
backnotprop:mainfrom
MarceloPrado:mprado/fix-bear-nested-tags
Mar 18, 2026
Merged

fix: preserve slashes in Bear nested tags#331
backnotprop merged 1 commit into
backnotprop:mainfrom
MarceloPrado:mprado/fix-bear-nested-tags

Conversation

@MarceloPrado
Copy link
Copy Markdown
Contributor

Summary

  • normalizeTags() in packages/ui/utils/bear.ts stripped / from custom tags, breaking Bear's nested tag feature (e.g. plannotator/plansplannotatorplans)
  • Allow / in the character class, collapse consecutive slashes, strip leading/trailing slashes

Test plan

  • New bear.test.ts with regression tests for nested tags
  • Added slash-tag tests to integrations.test.ts for buildHashtags
  • All 39 tests pass

@MarceloPrado MarceloPrado marked this pull request as ready for review March 18, 2026 16:06
@backnotprop backnotprop merged commit 9056e18 into backnotprop:main Mar 18, 2026
5 checks 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