Your message dated Wed, 18 Jan 2012 17:54:17 +0100
with message-id <[email protected]>
and subject line Re: Bug#625837: discount: autolink confused by guillemets
has caused the Debian Bug report #625837,
regarding discount: autolink confused by guillemets
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
625837: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625837
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: discount
Version: 2.0.8-1
Severity: normal
Discount is confused by this string: »mailto:«
$ markdown -f autolink -s mailto:
<p>mailto:</p>
$ markdown -f autolink -s »mailto:«
<p>»<a
href="mailto:«">«</a></p>
Guillemets are typographic symbols, they shouldn't affect the
linking.
Thanks
Michael
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (900, 'testing'), (500, 'stable-updates'), (500,
'proposed-updates'), (500, 'stable'), (10, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages discount depends on:
ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib
ii libmarkdown2 2.0.8-1 Implementation of Markdown markup
discount recommends no packages.
discount suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
On Fri, May 06, 2011 at 07:55:12PM +0200, Alessandro Ghedini wrote:
> I think I've understood what's happening. http: and mailto: URIs are
> different, because the http: needs double slashes (like in http://a.org)
> while mailto: doesn't (like in mailto:[email protected]), hence discount parses
> the document in search of <uri>: like tokens to catch both.
>
> Given that upskirt does not support mailto: it can simply search for
> <uri>:// which may be the reason why it doesn't fail with "http:-like".
> If I am right, it should do the same with the string "http://-links" instead.
>
> That's just how discount works and I'm afraid it can't be fixed without
> rewriting big parts of it (or loosing the mailto autolink feature). If you
> don't need autolinking on mailto URLs probably upskirt makes more sense for
> your project.
The wontfix tag is quite useless, closing this bug now.
Cheers
--
perl -E'$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'
--- End Message ---