Changeset 2a2f7d9


Ignore:
Timestamp:
01/23/2024 08:32:33 AM (3 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
12.1, ken/TL2024, lazarus, plabs/newcss, rahul/power-profiles-daemon, trunk, xry111/llvm18
Children:
bb2adff7
Parents:
a38df1e
Message:

Replace some utf-8 encoded chars with char entities

It has been said that some chars were not readable as utf-8.

Location:
stylesheets
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/dump-commands.xsl

    ra38df1e r2a2f7d9  
    6363
    6464  <xsl:template match="userinput">
    65     <xsl:text>
    66 </xsl:text>
     65    <xsl:text>&#xA;</xsl:text>
    6766    <xsl:if test=".//replaceable">
    6867      <xsl:text># This block must be edited to suit your needs.</xsl:text>
    6968    </xsl:if>
    70     <xsl:text>
    71 </xsl:text>
     69    <xsl:text>&#xA;</xsl:text>
    7270    <xsl:apply-templates/>
    73     <xsl:text>
    74 </xsl:text>
     71    <xsl:text>&#xA;</xsl:text>
    7572    <xsl:if test=".//replaceable">
    7673      <xsl:text># End of editable block.</xsl:text>
    7774    </xsl:if>
    78     <xsl:text>
    79 </xsl:text>
     75    <xsl:text>&#xA;</xsl:text>
    8076  </xsl:template>
    8177
  • stylesheets/lfs-xsl/pdf.xsl

    ra38df1e r2a2f7d9  
    5353         We have expanded the support to several inline tags.
    5454         See pdf/lfs-mixed.xsl. The character in the
    55          select attribute is a zero width space, encoded in utf-8-->
    56   <xsl:param name="ulink.hyphenate" select="''"/>
     55         select attribute is a zero width space -->
     56  <xsl:param name="ulink.hyphenate" select="'&#x200B;'"/>
    5757
    5858    <!-- List of characters to allow ulink URLs, and supported inline tags,
  • stylesheets/lfs-xsl/xhtml/lfs-mixed.xsl

    ra38df1e r2a2f7d9  
    296296        <xsl:when test="$numcols &gt; 3">
    297297        <!-- the character in the <td> element is a non breaking space
    298              (unicode A0), encoded in utf-8 -->
    299           <td> </td>
     298             (unicode A0) -->
     299          <td>&#xA0;</td>
    300300        </xsl:when>
    301301        <xsl:otherwise/>
  • stylesheets/patcheslist.xsl

    ra38df1e r2a2f7d9  
    108108      </xsl:choose>
    109109      <xsl:value-of select="$patch.name"/>
    110       <xsl:text> .
    111 </xsl:text>
     110      <xsl:text> .&#xA;</xsl:text>
    112111    </xsl:if>
    113112  </xsl:template>
Note: See TracChangeset for help on using the changeset viewer.