Skip to content

does not obey 'disable-output-escaping'=yes #30

@jpmorris

Description

@jpmorris

I want to turn xml into html. I want to have <!DOCTYPE html> to start the file. Tthe following works with other xml/xsl converters:

xsl:

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html" indent="yes"/>
    <xsl:template match="/">
        <xsl:text disable-output-escaping="yes">&lt;!DOCTYPE html&gt;</xsl:text>
    </xsl:template>
    </xsl:output>
</xsl:stylesheet>

However this module doesn't properly render the DOCTTYPE tag. I get:

&amp;lt;!DOCTYPE html&amp;gt;

So 'disable-output-escaping' isn't being honored because it converts '&' to '& also it does't properly convert < to '<' (but this might be do to the escaping issue).

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions