intertwingly

It’s just data

Joys of Backwards Compatibility


Fix for issue introduced by post processing:

<!-- ensure that scripts don't use empty tag syntax -->
  <xsl:template match="xhtml:script">
    <xsl:copy>
      <xsl:apply-templates select="@*|node()"/>
      <xsl:if test="not(node())">
         <xsl:comment><!--HTML Compatibility--></xsl:comment>
      </xsl:if>
    </xsl:copy>
  </xsl:template>

Grumble, grumble.