Package: libtext-multimarkdown-perl
Version: 1.000034-1
Severity: normal

Dear Maintainer,

When underscore symbol '_' appears in url in reference definition,
multimarkdown replaces it with some hexadecimal sequence (some hash
value?). Applies to all kinds of links: <...>, [...](...), [...][...].

Originally this was spotted, when using multimarkdown in ikiwiki.

The hexadecimal sequence seems to always be
'b14a7b8059d9c055954c92674ce60032'

Test case:

-------------------------------------------------------------------
tsubasa:~$ cat a.mdwn

link: <http://test.of/underscores_in_link>

reference[][#test]

footnotes[^ftn]

[#test]: links_test:
  <http://test.of/underscores_in_links>
  [link_test](http://test.of/underscores_in_links)
  [link_test][foobar]

[^ftn]: links_test:
  <http://test.of/underscores_in_links>

[foobar]: http://test.of/underscores_in_link

tsubasa:~$ multimarkdown a.mdwn
<p>link: <a 
href="http://test.of/underscores_in_link";>http://test.of/underscores_in_link</a></p>

<p>reference<span class="markdowncitation"> (<a href="#test">1</a>)</span></p>

<p>footnotes<a href="#fn:ftn" id="fnref:ftn" class="footnote">1</a></p>

<div class="footnotes">
<hr />
<ol>

<li id="fn:ftn"><p>links_test:
<a 
href="http://test.of/underscores_in_links";>http://test.of/underscores_in_links</a><a
 href="#fnref:ftn" class="reversefootnote">&#160;&#8617;</a></p></li>

</ol>
</div>

<div class="bibliography">
<hr />
<p>Bibliography</p>

<div id="test"><p>[1] <span class="item">links_test:
<a 
href="http://test.of/underscoresb14a7b8059d9c055954c92674ce60032inb14a7b8059d9c055954c92674ce60032links";>http://test.of/underscoresb14a7b8059d9c055954c92674ce60032inb14a7b8059d9c055954c92674ce60032links</a>
<a 
href="http://test.of/underscoresb14a7b8059d9c055954c92674ce60032inb14a7b8059d9c055954c92674ce60032links";>link_test</a>
<a 
href="http://test.of/underscoresb14a7b8059d9c055954c92674ce60032inb14a7b8059d9c055954c92674ce60032link";>link_test</a></span></p></div>

</div>
-------------------------------------------------------------------

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libtext-multimarkdown-perl depends on:
ii  libtext-markdown-perl  1.0.26-1
ii  perl                   5.14.2-14

libtext-multimarkdown-perl recommends no packages.

libtext-multimarkdown-perl suggests no packages.

-- no debconf information

-- 
Михайло Даниленко
-------------------------------
jabber: <isb...@unixzone.org.ua>
icq:    590697790

Attachment: signature.asc
Description: Digital signature

Reply via email to