File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ my @body;
45
45
my @ footnotes ;
46
46
my % crossrefs ;
47
47
48
- sub Debug (Callable $) { } # Disable debug code
48
+ sub Debug (Callable $) { } # Disable debug code
49
49
# sub Debug(Callable $c) { $c() } # Enable debug code
50
50
51
51
sub escape_html (Str $ str ) returns Str {
@@ -327,8 +327,11 @@ multi sub node2html(Pod::Block::Named $node) {
327
327
}
328
328
when ' para' { return node2html($ node . contents[0 ]); }
329
329
when ' defn' {
330
- return node2html($ node . contents[0 ]) ~ " \n "
331
- ~ node2html($ node . contents[1 .. * -1 ]);
330
+ return " <dl>" ~
331
+ " <dt>" ~ node2html($ node . contents[0 ]. contents[1 ]) ~ " </dt>" ~
332
+ " <dd>" ~ node2html($ node . contents[0 ]. contents[2 .. * -1 ]) ~ " </dd>" ~
333
+ " </dl>\n " ~
334
+ node2html($ node . contents[1 .. * -1 ]);
332
335
}
333
336
when ' Image' {
334
337
my $ url ;
You can’t perform that action at this time.
0 commit comments