Support » Plugins and Hacks » Really Simple Twitter Feed Widget » [Resolved] Special characters in #hashtags

[Resolved] Special characters in #hashtags

Viewing 2 replies - 1 through 2 (of 2 total)
  • This regex might solve 2 problems:

    1. The ‘hyphen problem’ in hashtags;
    2. The ‘foreign language characters problem’ in hashtags.


    In the code:

    $msg = preg_replace(‘/(^|\s)#([\-\pL\w]+)/u’, “$1#$2$3 “, $msg);

    So hashtags like #hour-s and #Utøya are so far now linkified.

    Best Regards, Dick

    Plugin Contributor whiletrue


    Hi Dick,
    the 1.2.1 release fixes the bug you reported.

    Thanks for your cooperation!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Special characters in #hashtags’ is closed to new replies.
Skip to toolbar