1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-12-03 22:39:18 +02:00

Lists can now be used outside of p and text tags.

This allows for more flexible document structuring.
This commit is contained in:
David Steele
2016-05-26 09:34:03 -04:00
parent 5a85122841
commit 0fb8bcbfb7
9 changed files with 80 additions and 27 deletions

View File

@@ -399,6 +399,16 @@ sub sectionProcess
$oSectionBodyElement->add($oConfigElement);
}
}
# Add a list
elsif ($oChild->nameGet() eq 'list')
{
my $oList = $oSectionBodyElement->addNew(HTML_UL, 'list-unordered');
foreach my $oListItem ($oChild->nodeList())
{
$oList->addNew(HTML_LI, 'list-unordered', {strContent => $self->processText($oListItem->textGet())});
}
}
# Add a subsection
elsif ($oChild->nameGet() eq 'section')
{