Skip Menu |

This queue is for tickets about the Pod-WikiDoc CPAN distribution.

Report information
The Basics
Id: 29604
Status: resolved
Priority: 0/
Queue: Pod-WikiDoc

People
Owner: Nobody in particular
Requestors: ASKSH [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: 0.18



Subject: Feature-Path: Keep_other_formats option.
Hi David! Thanks for a great module! I wanted to use Graph::Easy and such with Pod::WikiDoc, but the problem is that Pod::WikiDoc POD-escapes special characters in the formats so: =for graph [ Single ] --> [ Line ] --> [ Definition ] becomes =for graph [ Single ] --E<gt> [ Line ] --E<gt> [ Definition ] and =begin graph node { fill: silver; } [ Multi ] --> [ Line ] =end graph becomes =begin graph node C<<< fill: silver; >>> L< Multi > --E<gt> L< Line > =end graph The attached patch passes raw formatter data if you turn on the keep_other_formats option. my $parser = Pod::WikiDoc->new({ keep_other_formats => 1, }); Also includes a simple test file and documentation for the option, I hope you would like to incorporate this patch in your distribution. Regards, Ask Solem <asksh@cpan.org>
Subject: Pod-WikiDoc-askh-20070925.patch

Message body is not shown because it is too large.

Thanks for the report -- a close re-read of perlpod spec does clearly indicate that formats should be nestable. I've fixed that in 0.18 and it's automatic, not an option. (Anything else wouldn't be perlpodspec compliant.)