Skip to content

Commit

Permalink
fix bug in google - thanks to Rick
Browse files Browse the repository at this point in the history
  • Loading branch information
fletcher committed Jan 20, 2011
1 parent 5589944 commit ef1038d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions XSLT/xhtml-google-docs.xslt
Expand Up @@ -90,6 +90,7 @@
<!-- footnote li --> <!-- footnote li -->
<!-- print contents of the matching footnote --> <!-- print contents of the matching footnote -->
<xsl:template match="xhtml:li" mode="footnote"> <xsl:template match="xhtml:li" mode="footnote">
<xsl:param name="footnoteID"/>
<xsl:if test="parent::xhtml:ol/parent::xhtml:div/@class = 'footnotes'"> <xsl:if test="parent::xhtml:ol/parent::xhtml:div/@class = 'footnotes'">
<xsl:if test="concat('#',@id) = $footnoteId"> <xsl:if test="concat('#',@id) = $footnoteId">
<xsl:apply-templates select="node()" mode="footnote"/> <xsl:apply-templates select="node()" mode="footnote"/>
Expand Down

0 comments on commit ef1038d

Please sign in to comment.