Viewing 2 replies - 1 through 2 (of 2 total)
  • Anonymous User 18174973

    (@anonymized-18174973)

    Hi,

    Could you send me some example hashtags so I can do some tests?

    Thread Starter besfe

    (@besfe)

    hi
    #????????
    the language is rtl

    there is plugin called Hashtag is working fine with any language but is outdated

    $hash      = $regular ? '' : '%23';
    			
    			$content = str_replace('>#','> #',$content);
    			$content = preg_replace('/(?<!:|\s|&|"|\')(\s)#([^\s<]+)/i', '<span class="'.$class.'">\1#<a href="'.site_url().'?s='.$hash.'\2">\2</a></span>', $content);
    			return $content;
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Arabic characters’ is closed to new replies.