Skip to content

Commit

Permalink
Support accented characters in hashtags
Browse files Browse the repository at this point in the history
  • Loading branch information
asimons04 committed Aug 9, 2024
1 parent f13796e commit 5a99e6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/components/markdown/renderers/MarkdownLink.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
let person: Person | undefined = undefined
let community: Community | undefined = undefined
let hashtagRE = /^#[A-Z0-9]\w/i
//let hashtagRE = /^#[A-Z0-9]\w/i
let hashtagRE = /^#[A-Za-z0-9À-ÿ]+/i
$: token, token.href = photonify(token.href) ?? token.href
$: token, person = generatePerson(token.href)
Expand Down

0 comments on commit 5a99e6d

Please sign in to comment.