summaryrefslogtreecommitdiff
path: root/internal/text/goldmark_parsers.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/text/goldmark_parsers.go')
-rw-r--r--internal/text/goldmark_parsers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/text/goldmark_parsers.go b/internal/text/goldmark_parsers.go
index b7cf4f9e9..e2c87e057 100644
--- a/internal/text/goldmark_parsers.go
+++ b/internal/text/goldmark_parsers.go
@@ -177,7 +177,7 @@ func (p *hashtagParser) Parse(
// Ignore initial '#'.
continue
- case !isPlausiblyInHashtag(r) &&
+ case !isPermittedInHashtag(r) &&
!isHashtagBoundary(r):
// Weird non-boundary character
// in the hashtag. Don't trust it.