New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mishandled angle brackets in message text #411
Comments
Hi, I can't reproduce this. I sent |
i happened reproducable in a conversation with a pidgin client on the other side. |
This only happens when you have an OTR conversation going. Pidgin handles it correctly without OTR. |
OK, so the behavior here is highly idiosyncratic and different inbetween different implementations. For example, Pidgin when sending will escape most html looking things, unless it's well formed style elements such as the "i" tag. However, if you have OTR turned on, EVERYTHING html looking will be escaped. Gajim seems to do the same thing. It's not exactly clear what the right behavior here is. Incidentally, I can't reproduce the behavior you are seeing. If I send |
sorry, i was unprecise in my first message, should have read: "... only the text around the pair is received..." |
so escaping sgml text (at least in otr) is not an option for coyim? |
Escaping HTML is absolutely possible, and indeed something we already do. The problem is how we escape and when. And since Pidgin and Gajim and the others seem to do different things at different points, and that this differs depending on if an OTR conversation is active or not, it's a bit hard to figure out what behavior is the correct one. |
Ran into this same issue, kind of. When I send messages containing "<", everything after the "<" doesn't display Coyim side, but seems to display fine on my recipients side. Super annoying for pasting shell oneliners in chat to people... Edit: Should note that this is during an OTR conversation. |
The current behavior is that the angle brackets will be quoted as is, inside an OTR conversation. I'm fine with that. Hope that works for everyone. |
If an outgoing message contains an angle bracket pair "<...>" like a markup tag, only the text before the pair is received on the other end.
The text was updated successfully, but these errors were encountered: