You've already forked pgbackrest
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:
@@ -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')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user