aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-01-17 15:12:12 +0100
committerPatrick Spek <p.spek@tyil.nl>2020-01-17 15:12:12 +0100
commita1c4aa5da1d91763f7fe5d215ca6d48a90c307ac (patch)
tree8d4e613d9a5d140e238fce734dfc29f4699379bf
parentc9697f5057d50a723993c109e36c9f78be1c286e (diff)
downloadPod::To::HTML::Section-a1c4aa5da1d91763f7fe5d215ca6d48a90c307ac.tar.gz
Pod::To::HTML::Section-a1c4aa5da1d91763f7fe5d215ca6d48a90c307ac.tar.bz2
Add rudimentary list item support
-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 18774fa..2a414a0 100644
--- a/lib/Pod/To/HTML/Section.pm6
+++ b/lib/Pod/To/HTML/Section.pm6
@@ -167,7 +167,7 @@ multi method render (Pod::Heading:D $heading --> Str) {
}
multi method render (Pod::Item:D $item --> Str) {
- self.traverse($item)
+ "<ul><li>{self.traverse($item)}</li></ul>"
}
multi method render (Str:D $prose --> Str) {