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
Copy link

@OracPrime OracPrime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect!

@OracPrime OracPrime added Reviewed Volunteer to add when completing a review with trainee action still to take. Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed. Module-Legacy-Code The name of the module. Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants