[gnome-doc-utils/mallard: 71/87] Fixed problem with ubiquitous linking with an href attribute



commit 432254d073f38a15367a5ed9f1c683ed88e6f025
Author: Shaun McCance <shaunm gnome org>
Date:   Thu Dec 11 12:55:48 2008 -0600

    Fixed problem with ubiquitous linking with an href attribute
---
 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 dca2b82..4752aac 100644
--- a/xslt/mallard/html/mal2html-inline.xsl
+++ b/xslt/mallard/html/mal2html-inline.xsl
@@ -62,7 +62,7 @@ REMARK: Document this template
   <xsl:param name="node" select="."/>
   <span class="{local-name($node)}">
     <xsl:choose>
-      <xsl:when test="$node/@xref | $node/@xref">
+      <xsl:when test="$node/@xref | $node/@href">
         <a>
           <xsl:attribute name="href">
             <xsl:call-template name="mal.link.target">



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