mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
Replace some utf-8 encoded chars with char entities
It has been said that some chars were not readable as utf-8.
This commit is contained in:
parent
a38df1ea10
commit
2a2f7d9ba6
@ -62,21 +62,17 @@
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="userinput">
|
||||
<xsl:text>
|
||||
</xsl:text>
|
||||
<xsl:text>
</xsl:text>
|
||||
<xsl:if test=".//replaceable">
|
||||
<xsl:text># This block must be edited to suit your needs.</xsl:text>
|
||||
</xsl:if>
|
||||
<xsl:text>
|
||||
</xsl:text>
|
||||
<xsl:text>
</xsl:text>
|
||||
<xsl:apply-templates/>
|
||||
<xsl:text>
|
||||
</xsl:text>
|
||||
<xsl:text>
</xsl:text>
|
||||
<xsl:if test=".//replaceable">
|
||||
<xsl:text># End of editable block.</xsl:text>
|
||||
</xsl:if>
|
||||
<xsl:text>
|
||||
</xsl:text>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="replaceable">
|
||||
|
@ -52,8 +52,8 @@
|
||||
<!-- Allow URLs to be automatically hyphenated.
|
||||
We have expanded the support to several inline tags.
|
||||
See pdf/lfs-mixed.xsl. The character in the
|
||||
select attribute is a zero width space, encoded in utf-8-->
|
||||
<xsl:param name="ulink.hyphenate" select="''"/>
|
||||
select attribute is a zero width space -->
|
||||
<xsl:param name="ulink.hyphenate" select="'​'"/>
|
||||
|
||||
<!-- List of characters to allow ulink URLs, and supported inline tags,
|
||||
to be automatically hyphenated on.
|
||||
|
@ -295,8 +295,8 @@
|
||||
</xsl:when>
|
||||
<xsl:when test="$numcols > 3">
|
||||
<!-- the character in the <td> element is a non breaking space
|
||||
(unicode A0), encoded in utf-8 -->
|
||||
<td> </td>
|
||||
(unicode A0) -->
|
||||
<td> </td>
|
||||
</xsl:when>
|
||||
<xsl:otherwise/>
|
||||
</xsl:choose>
|
||||
|
@ -107,8 +107,7 @@ exit</xsl:text>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:value-of select="$patch.name"/>
|
||||
<xsl:text> .
|
||||
</xsl:text>
|
||||
<xsl:text> .
</xsl:text>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user