Subject: | The output is wrongly interpreted by Confluence for asterisk enumeration |
Date: | Wed, 21 Sep 2011 18:25:35 +0300 |
To: | bug-Pod-Simple-Wiki [...] rt.cpan.org |
From: | Kyr <kshatzkij [...] gmail.com> |
Distribution: Pod-Simple-Wiki-0.14
Platform: Any
If output of pod2wiki -s confluence:
* *some item* some description including asterisk '*' symbols and *bold
text*. Then it is wrongly formatted in Confluence.
Solution is to escape * in text, for examlpe
--- Confluence.pm 2010-09-17 21:19:36.000000000 +0300
+++ /usr/lib/perl5/site_perl/5.10/Pod/Simple/Wiki/Confluence.pm 2011-09-21
17:58:12.619778500 +0300
@@ -102,6 +102,8 @@
return;
}
+ $text =~ s/\*/\\*/g;
+
# Split the text into tokens but maintain the whitespace
my @tokens = split /(\s+)/, $text;
<http://search.cpan.org/CPAN/authors/id/J/JM/JMCNAMARA/Pod-Simple-Wiki-0.14.tar.gz>