• Twitter hashtag links are broken if they contain åäö characters. For example #keittiö (kitchen in Finnish) would turn into a link with hashtag “keitti” without the last ö character. Seems like the content has already been turned into html before the links are created – ä is then ä and the & character breaks it.

    Also if the tweet starts with a hashtag then that word will not turn into a link.

    Is there a quick workaround or should I just wait for these to be fixed in upcoming versions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author slickremix

    (@slickremix)

    @balle I noticed the same thing the other day when I was making some edits to the twitter feed on both notes. I will have to spend some time looking into this, not really sure how to beat the language issue in this case at the moment. Keep you posted.

    Spencer

    I had the same problem with Scandinavian characters on my site. I managed to correct the broken hashtag link issue by modifying

    function fts_twitter_description($post_data) {

    $pattern = array(‘/http:(\S)+/’, ‘/https:(\S)+/’, ‘/([^a-zA-Z0-9-_&])@([0-9a-zA-Z_]+)/’, ‘/([^0-9a-zA-ZåäöÅÄÖ_])#([0-9a-zA-ZåäöÅÄÖ_]+)/’);

    but unfortunately I didn’t find an easy way to fix the link in the beginning of tweet.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problems with Twitter hashtags’ is closed to new replies.