Changes hash in hashtag link to html entity for proper linking