tags - moreinfo thanks On Fri, May 06, 2011 at 05:49:27PM +0200, Michael Below wrote: > I tried some more combinations. > Some better known quote marks are supported by discount: > > $ markdown -f autolink -s "'mailto:'" > <p>‘mailto:’</p>
Now I see what you want: » and « being interpreted by discount as quotes (just like ' and "), am I right? This may be a whishlist feature to forward upstream. > But as soon as I put anything behind the mailto: that's no known quote > mark, it becomes a link. > > $ markdown -f autolink -s "some mailto:-links work better than others" > <p>some <a > href="mailto:-links">-links</a> > work better than others</p> That is understendable. mailto: is a valid URI scheme, hence it is converted into an HTML anchor. discount seems to interpret '-links' as an email address, but that's normal since it doesn't do any check on the URLs (maybe another whishlist feature? Not sure if this would be accpted though). > Maybe this is a design limitation, not a bug? Yeah, kind of. Cheers :) -- perl -E'$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse' -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

