summaryrefslogtreecommitdiff
path: root/xslt
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2015-04-04 01:16:34 -0400
committerShaun McCance <shaunm@gnome.org>2015-04-04 01:17:28 -0400
commit48f6119e313cfab457fda8b1004b07e8afe91523 (patch)
tree992906e88f48a72cc9587a007f338b9b91a0c9ab /xslt
parentd05795d79b8ab3de873623e5c130fc0ee95e6d82 (diff)
downloadyelp-xsl-48f6119e313cfab457fda8b1004b07e8afe91523.tar.gz
mal2html-inline: Fix link content when it's only an image
Diffstat (limited to 'xslt')
-rw-r--r--xslt/mallard/html/mal2html-inline.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/mallard/html/mal2html-inline.xsl b/xslt/mallard/html/mal2html-inline.xsl
index d2212ded..67232626 100644
--- a/xslt/mallard/html/mal2html-inline.xsl
+++ b/xslt/mallard/html/mal2html-inline.xsl
@@ -280,7 +280,7 @@ an #{xref} or #{href} attribute.
<!-- = link % mal2html.inline.content.mode = -->
<xsl:template mode="mal2html.inline.content.mode" match="mal:link">
<xsl:choose>
- <xsl:when test="normalize-space(.) != ''">
+ <xsl:when test="* or normalize-space(.) != ''">
<xsl:apply-templates mode="mal2html.inline.mode"/>
</xsl:when>
<xsl:otherwise>