xing / XNGMarkdownParser

A Markdown NSAttributedString parser.
Apache License 2.0
103 stars 23 forks source link

Something wrong with URL detection #12

Open haojianzong opened 9 years ago

haojianzong commented 9 years ago

It will detect a string like "U.S.A" to be a link. I guess it has something to do with the url {protourl}|{optprotourl} in markdown.grammar. Anyone got any idea how to fix it? Thanks in advance.

gskbyte commented 9 years ago

Well, we could probably make the parts of a link to be longer than three characters... We will have a look.