Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Caption is now an attribute
Since late 2017.
  • Loading branch information
tbrowder committed Jul 5, 2018
1 parent 5acb576 commit 2cbcf06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Pod/To/HTML.pm
Expand Up @@ -387,7 +387,7 @@ multi sub node2html(Pod::Block::Table $node) {
Debug { note colored("Table node2html called for ", "bold") ~ $node.gist };
my @r = $node.config<class>??'<table class="pod-table '~$node.config<class>~'">'!!'<table class="pod-table">';
if $node.config<caption> -> $c {
if $node.caption -> $c {
@r.push("<caption>{node2inline($c)}</caption>");
}
Expand Down

0 comments on commit 2cbcf06

Please sign in to comment.