Skip Menu |

This queue is for tickets about the HTML-WikiConverter CPAN distribution.

Report information
The Basics
Id: 12395
Status: resolved
Worked: 15 min
Priority: 0/
Queue: HTML-WikiConverter

People
Owner: diberri [...] cpan.org
Requestors: nachtigall [...] web.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: free text URL followed by <br> tag creates wrong wiki markup
Enter this in the web-interface (converting to moin): http://openvpn.sourceforge.net<br/> goes to: http://openvpn.sourceforge.net[[BR]] which rendererd in moinmoin as: <a href="http://openvpn.sourceforge.net[[BR">http://openvpn.sourceforge.net[[BR</a>]] that is there is a link like "http://openvpn.sourceforge.net[[BR" ( probably this is not a moinmoin bug, please see: http://moinmoin.wikiwikiweb.de/MoinMoinBugs/URLfollowedBRMacroCreatesBadLink ) Solution add a " " (space) after each recognized free text URL/IMG, i.e.: http://openvpn.sourceforge.net<br/> should go to: http://openvpn.sourceforge.net [[BR]] ^^^^
Show quoted text
> Solution add a " " (space) after each recognized free text URL/IMG, > i.e.: > http://openvpn.sourceforge.net<br/> > should go to: > http://openvpn.sourceforge.net [[BR]]
I've implemented this fix in the MoinMoin dialect. It didn't break any tests, which is a good sign (but doesn't rule out all potential problems). Please test it out on the web interface [1] and let me know if you find any problems. If it checks out, I'll include the fix in the 0.23 release. -- David Iberri [1] http://diberri.dyndns.org/html2wiki.html