[yelp-xsl] mal-cache: Don't erroneously match link titles with roles



commit 25000a8808bbe80f64a25dfb93a5ae9e18195e93
Author: Shaun McCance <shaunm gnome org>
Date:   Fri Apr 15 15:11:13 2011 -0400

    mal-cache: Don't erroneously match link titles with roles

 xslt/mallard/cache/mal-cache.xsl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/xslt/mallard/cache/mal-cache.xsl b/xslt/mallard/cache/mal-cache.xsl
index 3357909..55e1e3e 100644
--- a/xslt/mallard/cache/mal-cache.xsl
+++ b/xslt/mallard/cache/mal-cache.xsl
@@ -83,7 +83,7 @@ mal.cache.info
   <xsl:param name="info" select="$node/mal:info"/>
   <xsl:param name="node_in"/>
   <info>
-    <xsl:if test="not($info/mal:title[ type = 'link'])">
+    <xsl:if test="not($info/mal:title[ type = 'link'][not(@role)])">
       <title type="link">
         <xsl:copy-of select="$node/mal:title/node()"/>
       </title>



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