Subject: | <a> tag bug with MediaWiki dialect |
Date: | Wed, 16 May 2007 13:44:22 -0400 |
To: | <bug-HTML-WikiConverter-MediaWiki [...] rt.cpan.org> |
From: | <PERREAULT.F4 [...] forces.gc.ca> |
Hi,
Just want to report what I think is a minor bug with the latest version (0.61) of your HTML::WikiConverter. It is also reproducible on your website which seems to be using a development version 0.62 .
Scenario: Converting HTML to Wiki using the MediaWiki dialect
Test case : Using your website ( http://diberri.dyndns.org/wikipedia/html2wiki/index.html), input the following html code:
This is a link to a url : <a href="http://www.google.com">Google</a>
This is a link to a file : <a href="myLocalFile.txt">File</a>
Results : The Google link gets translated to
This is a link to a url : [http://www.google.com Google]
...which is fine, but the second line gets translated to
This is a link to a file : [myLocalFile.txt File]
...which should look like :
This is a link to a file : [[myLocalFile.txt|File]]
(two brackets surrounding the link and a vertical pipe between the link and its desired textual representation)
Thanks a lot for your tool!
Some days you're the bug.
Some days you're the windshield.
Show quoted text
______________________________________________
Francis Perreault, ing.
Applications Software Specialist
CF-18 System Engineering Support Group
(450) 476-4628
CAE Inc. www.cae.com