symphony-3
symphony-3 copied to clipboard
Debug Devkit encoding issues
From Stephen Bau:
I'm finding that when I view the ?debug page, there are character encoding issues for the title of the page. I'm using the standard page-title utility
http://github.com/bauhouse/symbiosis/blob/master/utilities/page-title.xsl
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template name="page-title">
<xsl:value-of select="$website-name"/>
<xsl:text> — </xsl:text>
<xsl:value-of select="$page-title"/>
</xsl:template>
</xsl:stylesheet>
However, the Debug Devkit extension is having an issue with displaying the page title properly. It ends up looking like this:
<title>Symbiosis — Articles</title>
When it should be this:
<title>Symbiosis — Articles</title>
That is:
<title>Symbiosis — Articles</title>