Skip to content

London | November 25 | Donara Blanc | Sprint 1 | Fix hashtag links#169

Open
donarbl wants to merge 1 commit intoCodeYourFuture:mainfrom
donarbl:sprint1-fix-hashtag
Open

London | November 25 | Donara Blanc | Sprint 1 | Fix hashtag links#169
donarbl wants to merge 1 commit intoCodeYourFuture:mainfrom
donarbl:sprint1-fix-hashtag

Conversation

@donarbl
Copy link

@donarbl donarbl commented Feb 27, 2026

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • [x ] My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

fixed regex in _formatHashtags() in front-end/components/bloom.mjs
changed \B to \b so hashtags after spaces are correctly matched
changed [^#]+ to \w+ for more precise pattern
it fixes the bug where clicking #SwizBiz in some blooms led to an empty page

@donarbl donarbl added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Module-Legacy-Code The name of the module. labels Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Module-Legacy-Code The name of the module. Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed.

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant