Skip Menu |

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

Report information
The Basics
Id: 67104
Status: new
Priority: 0/
Queue: HTML-WikiConverter-MoinMoin

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

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



Subject: Support {{src}} inline images
Syntax for inline images in MoinMoin is {{url}} Patch to support this here: https://github.com/lorrin/HTML-WikiConverter-MoinMoin/commit/b6a2f130e97e77b468708d43b99b15461a7c65eb @@ -178,7 +178,12 @@ sub _abs2rel { sub _image { my( $self, $node, $rules ) = @_; - return $node->attr('src') || ''; + if ($node->attr('src')) { + return '{{' . $node->attr('src') . '}}'; + } + else { + return ''; + } } sub preprocess_node {