[yelp-xsl] mal2html-page: Don't output linkdiv dash with no desc



commit 01ab4dfb82b2ff56f8b0f1d77f8eabf350431da0
Author: Shaun McCance <shaunm gnome org>
Date:   Sun May 15 15:00:37 2011 -0400

    mal2html-page: Don't output linkdiv dash with no desc

 xslt/mallard/html/mal2html-page.xsl |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/xslt/mallard/html/mal2html-page.xsl b/xslt/mallard/html/mal2html-page.xsl
index 7b0d9f5..2db06d8 100644
--- a/xslt/mallard/html/mal2html-page.xsl
+++ b/xslt/mallard/html/mal2html-page.xsl
@@ -109,10 +109,10 @@ REMARK: Describe this template
         <xsl:with-param name="target" select="$target"/>
       </xsl:call-template>
     </span>
-    <span class="linkdiv-dash">
-      <xsl:text> &#x2014; </xsl:text>
-    </span>
     <xsl:if test="not($nodesc) and $target/mal:info/mal:desc">
+      <span class="linkdiv-dash">
+        <xsl:text> &#x2014; </xsl:text>
+      </span>
       <span class="desc">
         <xsl:apply-templates mode="mal2html.inline.mode"
                              select="$target/mal:info/mal:desc[1]/node()"/>



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