-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
issues with links in brackets #12
Comments
So basically not allowing a ')' after '/' if the ')' is the last character? |
not sure, these things are tricky. i would not rely on trying to get such things correct "from scratch" is probably a huge pain, issues will pop up over and over. |
maybe also report on https://github.com/deltachat/message-parser/issues with some test cases (text, expected result, actual result) looks like this could be solved with context awareness, so only consume as many brackets as were opened. |
just got a real-life example in the dev chat where the bracket is not directly after a slash ...
... renders wrongly in delta chat 1.26.0 |
a small update:
|
which I forgot to fix in the last commit: starting a bracket at the end of a link: `https://delta.chat/page(this is the link to our site)` (when it is not closed in the link its not taken)
typing a link in brackets is not working, eg. sth. as
A great chat app (see https://delta.chat/en/)
unfortunately, this is contradictory to deltachat/deltachat-desktop#2238
example ...
A great chat app (see https://delta.chat/en/) vs. https://en.wikipedia.org/wiki/Bracket_(disambiguation)
... markdown on github does it right, also ios (did not test android yet). technically, the second link is wrong afaik, however, in practise we cannot insist on that, these links just exist in masses :)
another bug i found during testing ...
a great chat app (see https://delta.chat) is not linkified at all.
The text was updated successfully, but these errors were encountered: