Skip to content

Instantly share code, notes, and snippets.

@larsks
Created July 13, 2010 00:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larsks/473295 to your computer and use it in GitHub Desktop.
Save larsks/473295 to your computer and use it in GitHub Desktop.
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