Created
July 13, 2010 00:47
-
-
Save larsks/473295 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ruN xdv/lib/xdv/annotate-rules.xsl xdv.lars/lib/xdv/annotate-rules.xsl | |
--- xdv/lib/xdv/annotate-rules.xsl 2010-07-12 14:05:08.000000000 -0400 | |
+++ xdv.lars/lib/xdv/annotate-rules.xsl 2010-07-12 17:18:22.000000000 -0400 | |
@@ -106,11 +106,11 @@ | |
* When using ssiprefix, @href should be an absolute local path (i.e. /foo/bar) | |
--> | |
<xsl:variable name="content_quoted" select="str:encode-uri(@content, false())"/> | |
- <xsl:element name="xsl:comment"># include virtual="<xsl:value-of select="$ssiprefix"/><xsl:choose> | |
+ <xsl:element name="xsl:comment">#include virtual="<xsl:value-of select="$ssiprefix"/><xsl:choose> | |
<xsl:when test="not(@content)"><xsl:value-of select="@href"/></xsl:when> | |
<xsl:when test="contains(@href, '?')"><xsl:value-of select="concat(str:replace(@href, '?', concat($ssisuffix, '?')), $ssiquerysuffix, $content_quoted)"/></xsl:when> | |
<xsl:otherwise><xsl:value-of select="concat(@href, $ssisuffix, '?', $ssiquerysuffix, $content_quoted)"/></xsl:otherwise> | |
- </xsl:choose>" wait="yes" </xsl:element> | |
+ </xsl:choose>" </xsl:element> | |
</xsl:template> | |
<xsl:template match="*[@method = 'esi']" mode="include"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment