mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-28 08:22:24 +00:00
Modified `createTagButton` in `js/ui/components/tagPillList.js` to ensure the `#` prefix is consistently applied to `button.dataset.tag`, state resolution calls (`getTagState`), and activation callbacks (`onTagActivate`). This resolves a regression where tags stripped of their prefix by `VideoModal.normalizeVideoTags` were being passed raw to tests and controllers that expected the normalized hashtag format (e.g., `#tag`). Verified with: - `tests/video-modal-controllers.test.mjs` (the failing test case) - `tests/ui/hashtag-strip-helper-bounce.test.mjs` (regression check) Co-authored-by: PR0M3TH3AN <[email protected]>