-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
[Bug] New message parser #22280
Comments
Thanks for reporting this Anton. Good we have someone testing it!! |
the first "bug" its not a bug, it was defined in the gramar I'm currently working to fix the others |
What if I want to have Italic text and then colon after it that is not italic:? It used to work correctly, we had integrations built based on how it worked. And now you say it's not a bug. |
I will try to explain but its quite tricky , I know you want the previous behavior "working" _but check t_his the raw text:
Looks the last case is what you are looking for, but Github fails on your specific case as well. Since we use Somehow "_" are considered "text" (its not only a markup character), Imagine a case, some slugfied conversion or whatever, and then we have this sentence "imagine_that im writing_something" based on the previous behavior we would render "imaginethat im writingsomething" that is odd and there no such way to prevent that. I will try to consider you case, but to me the best choice would be interpret * _ the same ways github does, but imagine how many people would complain about this change |
Hey, @ggazzo Now most important issue for us is this But with new parser @dudanogueira can you prioritize that to FE team, please? Actually because of RocketChat/Rocket.Chat.ReactNative#3592 we forced to use new parser. |
@ggazzo What do you think maybe new parser ignores |
Hello, I encountered an issue with this option, maybe you already know it. I enabled it out of curiosity without knowing what it was supposed to do, and the result was that OTR sessions were not working for me. All the messages (even mine) were shown as encrypted. I spent some time to find out that it was due to this option enabled days ago and which I didn't notice what it was doing. Is there a link where to understand what the new message parser is supposed to offer ? If this feature is not compatible with OTR, I suggest to clearly state it in the warning box, or if possible to disable it temporarily when enabling OTR. Thank you |
Guess 4.7 will totally remove old (pretty) message parser and all that mentioned here issues are still not resolved in any way. |
Well, we plan to keep the support for the old message for a while until the next major, meanwhile improve and solve some open issues related with parser, I cannot guarantee all the old behaviours will remain since some make no sense. B |
Hey, Guilherme!
That is good.
That's totally what need to be done, thank you!
I understand that and agree with you! |
Legacy template broken in 5.1.0 #26801 |
The most important issues mentioned here were already fixed in the past releases, because of this I'm closing this issue. If you find any other issues, please, create a separate issue to make it easier to track. Thank you so much! |
@hugocostadev how about that issue? |
That issue it's fixed too, the new message parser is protocol agnostic :) |
Guess you didn't get the main point of that issue. Please read that actual whole issue to get it. |
Sorry, I didn't realized that the path didn't have the URI structure. Could you open a separated issue for that please? Appreciate it. I'll bring this issue internally and see if we can support it. |
Sure! I will do it today, and leave here a link. |
Here it is @hugocostadev |
Description:
In that issue I will try to accumulate some issues with new message parser
Steps to reproduce:
Expected behavior:
All should parsed properly
Actual behavior:
_italic message followed by some letter_A
not become italicThis
not parsed
But this
do
So, for now we found 2 bugs:
_italic message followed by some letter_A
not become italicServer Setup Information:
Client Setup Information
Additional context
https://open.rocket.chat/channel/support?msg=StXKYkq3DbL4GQ2RE
Relevant logs:
No
The text was updated successfully, but these errors were encountered: