Subject: | BR tag problem |
Date: | Fri, 01 May 2009 13:56:34 -0400 |
To: | bug-HTML-WikiConverter-MoinMoin [...] rt.cpan.org |
From: | Don Shea <don.shea [...] nasa.gov> |
problem:
<br> HTML tags are being converted to
[[BR]]
when they should be
<<BR>>
package: HTML-WikiConverter-MoinMoin-0.54
perl: v5.8.8 built for i386-linux-thread-multi
OS: CentOS
uname -a: Linux ### 2.6.18-92.1.6.el5PAE #1 SMP Wed Jun 25 14:21:46 EDT
2008 i686 i686 i386 GNU/Linux
MoinMoin: version 1.8.2
I fixed the problem by changing line 60 in file MoinMoin.pm
*** MoinMoin.pm.old 2009-05-01 10:18:29.000000000 -0400
--- MoinMoin.pm 2009-05-01 09:29:23.000000000 -0400
***************
*** 57,63 ****
dd => { trim => 'both' },
hr => { replace => "\n----\n" },
! br => { replace => '[[BR]]' },
table => { block => 1, line_format => 'multi' },
tr => { end => "||\n", line_format => 'single' },
--- 57,63 ----
dd => { trim => 'both' },
hr => { replace => "\n----\n" },
! br => { replace => '<<BR>>' },
table => { block => 1, line_format => 'multi' },
tr => { end => "||\n", line_format => 'single' },
Other changes may be necessary, but this change works fine for me.
Thanks for the converter. It really helps stuffing our documentation
into the wiki.
Don Shea
NASA / GSFC
don.shea@nasa.gov
301-286-2339