Changeset 36053


Ignore:
Timestamp:
2022-02-03T17:28:33+13:00 (2 years ago)
Author:
cstephen
Message:

Document issue with documents that contain invalid HTML

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/document-shared.xsl

    r36052 r36053  
    3737            <xsl:choose>
    3838                <xsl:when test="not(name())">
     39                    <!--
     40                        TODO: Disabling output escaping can cause issues when the document content contains
     41                        invalid HTML, e.g. for PDF documents that have been converted.
     42                        In one case, the node title section contained a self-closing div, which is invalid.
     43                        This messes up the rest of the document structure.
     44                    -->
    3945                    <xsl:value-of select="." disable-output-escaping="yes" />
    4046                </xsl:when>
Note: See TracChangeset for help on using the changeset viewer.