diff options
author | Patrick Spek <p.spek@tyil.nl> | 2020-01-17 06:10:02 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2020-01-17 06:25:44 +0100 |
commit | 062a2bb05c6f24a094b6ea29bf563d92670869e0 (patch) | |
tree | 33f662a1e4ae2be11bc8bc24ed1b3ecd2898f7c7 | |
parent | 3605da70055d094d9dba61d22fd6888e7afbbbae (diff) | |
download | Pod::To::HTML::Section-062a2bb05c6f24a094b6ea29bf563d92670869e0.tar.gz Pod::To::HTML::Section-062a2bb05c6f24a094b6ea29bf563d92670869e0.tar.bz2 |
Remove duplicate whitespace in code blocks
-rw-r--r-- | lib/Pod/To/HTML/Section.pm6 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Pod/To/HTML/Section.pm6 b/lib/Pod/To/HTML/Section.pm6 index 860ac14..b0c8060 100644 --- a/lib/Pod/To/HTML/Section.pm6 +++ b/lib/Pod/To/HTML/Section.pm6 @@ -15,7 +15,7 @@ my $version; my @notes; multi method render (Pod::Block::Code:D $code --> Str) { - "<pre>{$code.contents.join("\n").trim.&escape-html}</pre>" + "<pre>{$code.contents.join('').trim.&escape-html}</pre>" } multi method render (Pod::Block::Declarator:D $declarator --> Str) { |