diff --git a/modules/special-characters.xml b/modules/special-characters.xml index 7cb95f7..784a76d 100755 --- a/modules/special-characters.xml +++ b/modules/special-characters.xml @@ -31,7 +31,7 @@ <!-- Non-breaking space. --> <template name="non-breaking-space" match="non-breaking-space|nbsp|no-break-space"> - <common formats="/latex/xelatex/">~</common> + <common formats="/latex/xelatex/"><xsl:text>~</xsl:text></common> <common formats="/html/xhtml/"><xsl:text disable-output-escaping="yes">&nbsp;</xsl:text></common> <!-- Could use U+00A0 NO-BREAK SPACE for XHTML? --> </template> @@ -40,7 +40,7 @@ <!-- Thin space. --> <template name="thin-space" match="thin-space|thinspace"> - <common formats="/latex/xelatex/">\,</common> + <common formats="/latex/xelatex/"><xsl:text>\,</xsl:text></common> <common formats="/html/xhtml/"><xsl:text disable-output-escaping="yes">&thinsp;</xsl:text></common> <!-- Could use U+2009 THIN SPACE for XHTML? --> </template> @@ -50,7 +50,7 @@ Insert a discretionary hyphen. Only relevant for LaTeX output. --> <template name="discretionary-hyphen" match="hyphen"> - <common formats="/latex/xelatex/">\-</common> + <common formats="/latex/xelatex/"><xsl:text>\-</xsl:text></common> <!-- Could use U+00AD SOFT HYPHEN for XHTML? --> </template>