Browse Source

* Text::Dokuwiki::Render::Markdown : 'pre' tag

master
Zubrikhin Alexey 10 years ago
parent
commit
5e566a8a36
  1. 6
      lib/Text/Dokuwiki/Render/Markdown.pm

6
lib/Text/Dokuwiki/Render/Markdown.pm

@ -111,4 +111,10 @@ sub blockquote {
return join("\n", @out); return join("\n", @out);
} }
sub pre {
my ($self, $attrs, $content) = @_;
return "<pre>\n$content\n</pre>\n";
}
1; 1;

Loading…
Cancel
Save