weechat-matrix-protocol-script icon indicating copy to clipboard operation
weechat-matrix-protocol-script copied to clipboard

Issue with formatting and "\t" and "\n"

Open abrahimladha opened this issue 7 years ago • 1 comments

I have a small bot which when prompted gives you a table formatted with tabs and newlines. It should look like this: 20180220_080120_syj

It instead, in weechat looks like this: 20180220_080136_wrh

The first entries in each row seem to have been confused and wrap around to be on the side where it should be usernames. If you try to exploit this in weechat by manually sending a string with a newline, it will prompt you to send as multiple lines. If you say yes you can avoid the bug, if you say no, you cannot. Bots do not get prompted like this so the bug is always present for their messages.

abrahimladha avatar Feb 20 '18 13:02 abrahimladha

Isn't it weechat related?

furai avatar Mar 22 '18 08:03 furai