EionRobb / purple-rocketchat

Rocket.Chat Plugin for libpurple
GNU General Public License v3.0
21 stars 2 forks source link

Non-underlining underscores are not displayed #9

Open BenWiederhake opened 4 years ago

BenWiederhake commented 4 years ago

Running with pidgin -d, I get the following output:

$ grep -Firn '<SNIPCENSORED>' pidgin_1602228509_std???.log
pidgin_1602228509_stdout.log:33014:(09:28:30) rocketchat: got frame data: a["{\"msg\":\"result\",\"id\":\"9\",\"result\":{\"messages\":[{\"_id\":<SNIPLOTSOFPRIVATESTUFF>,\"rid\":\"GENERAL\",\"msg\":\"<SNIPCENSORED> die „_“ in <SNIPCENSORED> ohne „_“ aber <SNIPCENSORED>\",\"ts\":{\"$date\":<SNIPLOTSOFPRIVATESTUFF>

And in the chat window, the following gets displayed:

(2020-10-11 12:34:56) <SNIPCENSORED>: <SNIPCENSORED> die „“ in <SNIPCENSORED> ohne „“ aber <SNIPCENSORED>

I have to omit lots of private stuff, indicated by <SNIP>, but I hope you can still see what's going on. Maybe it's because there are two underscores, and purple-rocketchat thinks they must be matching underscores that form an underline?