aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-01-17 06:10:02 +0100
committerPatrick Spek <p.spek@tyil.nl>2020-01-17 06:25:44 +0100
commit062a2bb05c6f24a094b6ea29bf563d92670869e0 (patch)
tree33f662a1e4ae2be11bc8bc24ed1b3ecd2898f7c7
parent3605da70055d094d9dba61d22fd6888e7afbbbae (diff)
downloadPod::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.pm62
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) {