pgbackrest.git / summary / log / commit / refs
commit ed5876810d616a6dc59bddf722f74cccd9b8ddec
Author: David Steele <david@pgmasters.net>
Date: Fri Feb 23 19:16:20 2018 +0000
Fix missing variable replace for PDF code-block title.
Found by Jason O'Donnell.
doc/lib/BackRestDoc/Latex/DocLatexSection.pm | 2 +-
doc/xml/release.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/lib/BackRestDoc/Latex/DocLatexSection.pm b/doc/lib/BackRestDoc/Latex/DocLatexSection.pm
index 94516e9a3..e4ef5e077 100644
--- a/doc/lib/BackRestDoc/Latex/DocLatexSection.pm
+++ b/doc/lib/BackRestDoc/Latex/DocLatexSection.pm
@@ -190,7 +190,7 @@ sub sectionProcess
# Add code block
elsif ($oChild->nameGet() eq 'code-block')
{
- my $strTitle = $oChild->paramGet("title", false);
+ my $strTitle = $self->{oManifest}->variableReplace($oChild->paramGet("title", false), 'latex');
if (defined($strTitle) && $strTitle eq '')
{
diff --git a/doc/xml/release.xml b/doc/xml/release.xml
index 2c35ffcff..b91522a79 100644
--- a/doc/xml/release.xml
+++ b/doc/xml/release.xml
@@ -170,7 +170,7 @@
</release-item>
<release-item>
- <p>PDF rendering improvements. Check both <path>doc-path</path> and <path>bin-path</path> for logo. Allow PDF to be output to a location other than the <path>output</path> directory. Use PDF-specific version variable for more flexible formatting. Allow sections to be excluded from table of contents. More flexible replacements for titles and footers. Fill is now the default for table columns. Column width is specified as a percentage rather that using latex-specific notation.</p>
+ <p>PDF rendering improvements. Check both <path>doc-path</path> and <path>bin-path</path> for logo. Allow PDF to be output to a location other than the <path>output</path> directory. Use PDF-specific version variable for more flexible formatting. Allow sections to be excluded from table of contents. More flexible replacements for titles and footers. Fill is now the default for table columns. Column width is specified as a percentage rather that using latex-specific notation. Fix missing variable replace for <code>code-block</code> title.</p>
</release-item>
<release-item>
[parent: 2485fabbadf5]