[yelp-xsl] mal2html-inline: Fix link content when it's only an image



commit 7084d3a38559cf4cad512093adf4bf409d1551f8
Author: Shaun McCance <shaunm gnome org>
Date:   Sat Apr 4 01:16:34 2015 -0400

    mal2html-inline: Fix link content when it's only an image

 xslt/mallard/html/mal2html-inline.xsl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/xslt/mallard/html/mal2html-inline.xsl b/xslt/mallard/html/mal2html-inline.xsl
index d2212de..6723262 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>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]