#522224 Converts underscores to <em> tags in links

#522224#5
Date:
2009-04-01 19:36:49 UTC
From:
To:
Hi,

it appears that ikiwiki crops links if they are longer than a certain
length, e.g. this:

*
[http://www.example.com/diverses/publikationen/der_bund_kurz_erklaert/files/BUKU_dt_72dpi.pdf](2008)

becomes:

<li><a
href="2008">http://www.example.com/diverses/publikationen/der<em>bund</em>kurz<em>erklaert/files/BUKU</em>dt_72dpi.pdf</a></li>

This is very unfortunate, as it linking to such files impossible.

Regards,
Daniel

#522224#10
Date:
2009-04-01 20:21:40 UTC
From:
To:
Daniel Baumann wrote:

Note that in the above example, what's going on is not link cropping,
but link mangling.

I've reproduced the problem using markdown 1.0.1-7, but
libtext-markdown-perl does not have a problem with this link. Yet
another reason to prefer using it with ikiwiki, as has been the default
for a while.

#522224#17
Date:
2009-04-01 20:29:25 UTC
From:
To:
Joey Hess wrote:

how can i do that? is installing libtext-markdown-perl enough or do i
need to do something more?

Regards,
Daniel

#522224#22
Date:
2009-04-01 20:33:30 UTC
From:
To:
Daniel Baumann wrote:

Yes, ikiwiki will prefer libtext-markdown-perl if it is installed.

#522224#27
Date:
2009-04-01 21:01:47 UTC
From:
To:
Joey Hess wrote:

hmm, i've installed it, and even rebuild the wiki. but no change. could
it matter that i'm running 3.08 backport on lenny?