fossasia / loklak_search

Frontend Search for loklak server https://loklak.org
GNU Lesser General Public License v3.0
1.83k stars 575 forks source link

Some Hashtags in Japanese not rendered correctly #174

Closed mariobehling closed 7 years ago

mariobehling commented 7 years ago

It seems that Japanese hashtags/words are not always correctly rendered. I am not sure, why.

screenshot from 2017-01-07 14-22-02

compare: http://loklak.net/search?query=yacy

Search query for #!?!!$%!? -- gives the result: http://loklak.net/search?query=%23!%3F!!%24%25!%3F%20--

Achint08 commented 7 years ago

@mariobehling This is not a bug. Problem was with the actual tweet and hashtag detect problem. screen shot 2017-01-09 at 6 23 34 am

hemantjadon commented 7 years ago

Aah this highlights the problem in code I wrote in autolinker moule. All the things which start with '#' are not hashtags, have to use shards and "hashtags" object from the response from the api response.

I will fix this :)