summaryrefslogtreecommitdiff
path: root/lib/erl_docgen
diff options
context:
space:
mode:
authorLars Thorsen <lars@erlang.org>2019-09-09 14:56:53 +0200
committerLars Thorsen <lars@erlang.org>2019-09-09 14:56:53 +0200
commit4632d42c74e23aa6aa5873141a3138ac086cf124 (patch)
treee2e95e369c1764a7edfdbf4fd34d6bffc0d671c0 /lib/erl_docgen
parent7f6fbb019a392a11426618e3338bd50ab1cfa225 (diff)
parent0943ca3a4ffafe3bd41b80851badf6b17fbab42f (diff)
downloaderlang-4632d42c74e23aa6aa5873141a3138ac086cf124.tar.gz
Merge branch 'maint'
Diffstat (limited to 'lib/erl_docgen')
-rw-r--r--lib/erl_docgen/priv/xsl/db_pdf.xsl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/erl_docgen/priv/xsl/db_pdf.xsl b/lib/erl_docgen/priv/xsl/db_pdf.xsl
index 1b91d768e3..7080394298 100644
--- a/lib/erl_docgen/priv/xsl/db_pdf.xsl
+++ b/lib/erl_docgen/priv/xsl/db_pdf.xsl
@@ -662,7 +662,7 @@
<fo:flow flow-name="xsl-region-body">
<fo:block xsl:use-attribute-sets="cover.logo">
- <fo:external-graphic src="{$logo}"/>
+ <fo:external-graphic src="url('{$logo}')"/>
</fo:block>
<fo:block xsl:use-attribute-sets="cover.title" id="cover-page">
<xsl:apply-templates/>
@@ -1658,10 +1658,10 @@
<fo:block xsl:use-attribute-sets="image">
<xsl:choose>
<xsl:when test="@width">
- <fo:external-graphic content-width="scale-to-fit" width="{@width}" inline-progression-dimension.maximum="100%" src="{@file}"/>
+ <fo:external-graphic content-width="scale-to-fit" width="{@width}" inline-progression-dimension.maximum="100%" src="url('{@file}')"/>
</xsl:when>
<xsl:otherwise>
- <fo:external-graphic content-width="scale-down-to-fit" inline-progression-dimension.maximum="100%" src="{@file}"/>
+ <fo:external-graphic content-width="scale-down-to-fit" inline-progression-dimension.maximum="100%" src="url('{@file}')"/>
</xsl:otherwise>
</xsl:choose>
<xsl:apply-templates>