Xyphyn / photon

An opinionated web client for Lemmy to help users discover the fediverse.
https://phtn.app
GNU Affero General Public License v3.0
389 stars 43 forks source link

Brackets in title wrongly treated as tag #463

Closed KaKi87 closed 3 weeks ago

KaKi87 commented 1 month ago

Describe the bug Brackets in the middle of a title are wrongly treated as containing a tag.

To Reproduce (if applicable) Steps to reproduce the behavior:

  1. Visit a post which title contains brackets in the middle of it ;
  2. Notice brackets not visible in the title ;
  3. Notice brackets contents treated as tag.

Expected behavior The brackets wouldn't be treated as containing a tag. Brackets would only be treated as tag if positioned at the beninning of a title, e.g. :

Screenshots

Lemmy
Photon

Versions


Thanks

Xyphyn commented 1 month ago

Fixed in 8958321031d334d73ec9efccec9d354999adad98