Browse Source

* reduce indent level for content inside <pre>

master
Alex 'AdUser' Z 9 years ago
parent
commit
031367e422
  1. 2
      lib/Text/Dokuwiki/Render/Markdown.pm

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

@ -99,7 +99,7 @@ sub blockquote {
sub pre {
my ($self, $attrs, $content) = @_;
my @lines = map { " $_" } split(/\r?\n/o, $content);
my @lines = map { " " . $_ } split(/\r?\n/o, $content);
return join("\n", @lines);
}

Loading…
Cancel
Save