Kaydet (Commit) 60ce4dc0 authored tarafından Peter Jentsch's avatar Peter Jentsch

fix fdo#57647 intradocument xrefs broken in xhtml

Change-Id: Idce1f295dbf74eb3f02da1f32f290c20126c516b
üst 487ec719
...@@ -130,8 +130,9 @@ ...@@ -130,8 +130,9 @@
<!-- *** References *** --> <!-- *** References *** -->
<!-- ******************* --> <!-- ******************* -->
<xsl:template match="text:reference-ref | text:sequence-ref"> <xsl:template match="text:reference-ref | text:sequence-ref | text:bookmark-ref">
<xsl:param name="globalData"/> <xsl:param name="globalData"/>
<xsl:if test="*|text()">
<xsl:element namespace="{$namespace}" name="a"> <xsl:element namespace="{$namespace}" name="a">
<xsl:attribute name="href"> <xsl:attribute name="href">
<xsl:text>#</xsl:text> <xsl:text>#</xsl:text>
...@@ -150,7 +151,9 @@ ...@@ -150,7 +151,9 @@
<xsl:apply-templates select="@* | node()"> <xsl:apply-templates select="@* | node()">
<xsl:with-param name="globalData" select="$globalData"/> <xsl:with-param name="globalData" select="$globalData"/>
</xsl:apply-templates> </xsl:apply-templates>
</xsl:element> </xsl:element>
</xsl:if>
</xsl:template> </xsl:template>
<xsl:template match="@text:name"> <xsl:template match="@text:name">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment