MarkdownAttributedString
MarkdownAttributedString copied to clipboard
Broken link detection if link text contains bracket
Example:
[It's a link, but it won't be (converted) to NSAttributedString.Key.link](https://google.com)
Usually links need to be like this:
[Google] (https://www.google.pt) without the space
If you use it without the https://, or without the www it won't work.
This is indeed a problem, even though the example cited should really be using literal escapes for the parentheses. See issue #7.
This should be fixed in 1c489af65ec47293af7b5ec90960ef871fe5b0d5. I'm going to leave this issue open and do some more real world testing, but if you'd like to try it out yourself, go for it!