As subject, looks like encoding issue. Example here: https://pixelfed.social/p/y6nH/871

Using the good 'ol inspect element, it seems like the automatic hashtag link creation is interpreting the HTML entity as a hashtag

If you use ' instead ' for apostrophes, the code won't take that as hashtags.