-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
Apostrophes in links don't get parsed correctly #314
Comments
@korelstar i think we can fix it by adding the |
Yes, sound reasonable. In general, it's not easy to create a regular expression for detecting URLs without any side-effects. Hence, there will always be a better one, but most cases should be caught with the current one (respectively the new one with the apostroph) ;-) |
However, it would be advantageous to move that regular expression into a Util class and write a test case for it. |
This comment has been minimized.
This comment has been minimized.
We are not doing the linking-part in the Notes app anymore, it happens in the Markdown-rendering lib: yydcdut/RxMarkdown@c30609a#diff-62b97722e3e68b869ca54e67daad437eR45 Therefore i opened a new issue upstream: yydcdut/RxMarkdown#62 |
URL's with apostrophe character (') are broken in preview mode.
For example:
http://en.wikipedia.org/wiki/Conway's_Game_of_Life
Enclosing URLs in angle brackets (RFC 2396) doesn't work here
Android 7.1.2
nextcloud-notes v0.12.1
The text was updated successfully, but these errors were encountered: