Changeset b8d33a5 for stylesheets


Ignore:
Timestamp:
01/27/2024 09:42:07 PM (8 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
12.1, 12.1-rc1, 12.2, 12.2-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/update-glibc
Children:
5d064fb
Parents:
b6dd23c7
git-author:
Pierre Labastie <pierre.labastie@…> (01/27/2024 04:28:43 PM)
git-committer:
Pierre Labastie <pierre.labastie@…> (01/27/2024 09:42:07 PM)
Message:

rendering: some utf-8 fixes

Reinstate some character entities
Have some stylesheets output UTF-8

Part of a patch by Boian Berberov

Location:
stylesheets
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/dump-commands.xsl

    rb6dd23c7 rb8d33a5  
    1 <?xml version="1.0"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    33    xmlns:exsl="http://exslt.org/common"
     
    88
    99  <xsl:variable name="newline">
    10     <xsl:text>
    11 </xsl:text>
     10    <xsl:text>&#xA;</xsl:text>
    1211  </xsl:variable>
    1312
  • stylesheets/lfs-xsl/pdf.xsl

    rb6dd23c7 rb8d33a5  
    5454       See pdf/lfs-mixed.xsl.
    5555       Note: the argument in select= is a zero-width space
    56        (unicode 200b, encoded in utf-8)-->
    57   <xsl:param name="ulink.hyphenate" select="''"/>
     56       (unicode 200b)-->
     57  <xsl:param name="ulink.hyphenate" select="'&#x200B;'"/>
    5858
    5959  <!-- List of characters to allow ulink URLs, and supported inline tags,
  • stylesheets/lfs-xsl/profile.xsl

    rb6dd23c7 rb8d33a5  
    1919  <!-- Generate DocBook instance with correct DOCTYPE -->
    2020  <xsl:output method="xml"
     21              encoding="UTF-8"
    2122              doctype-public="-//OASIS//DTD DocBook XML V4.5//EN"
    2223              doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/>
  • stylesheets/md5sum.xsl

    rb6dd23c7 rb8d33a5  
    3232
    3333      <!-- Add a newline -->
    34       <xsl:text>
    35 </xsl:text>
     34      <xsl:text>&#xA;</xsl:text>
    3635
    3736    </xsl:if>
  • stylesheets/wget-list.xsl

    rb6dd23c7 rb8d33a5  
    2929        </xsl:otherwise>
    3030      </xsl:choose>
    31       <xsl:text>
    32 </xsl:text>
     31      <xsl:text>&#xA;</xsl:text>
    3332    </xsl:if>
    3433  </xsl:template>
Note: See TracChangeset for help on using the changeset viewer.