Ignore:
Timestamp:
01/18/2024 07:42:26 PM (9 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:
7152faa
Parents:
9512d6c
git-author:
Pierre Labastie <pierre.labastie@…> (01/18/2024 07:35:28 PM)
git-committer:
Pierre Labastie <pierre.labastie@…> (01/18/2024 07:42:26 PM)
Message:

Remove all &#xxx; occurences

  • replace some characters by their utf-8 encoded equivalent (and change encoding in the <?xml?> line
  • replace &#xa; with a true newline char. This is somewhat more readable anyway.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/lfs-xsl/pdf.xsl

    r9512d6c r2a26a4f5  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22
    33<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     
    5252  <!-- Allow URLs to be automatically hyphenated.
    5353       We have expanded the support to several inline tags.
    54        See pdf/lfs-mixed.xsl -->
    55   <xsl:param name="ulink.hyphenate" select="'&#x200B;'"/>
     54       See pdf/lfs-mixed.xsl.
     55       Note: the argument in select= is a zero-width space
     56       (unicode 200b, encoded in utf-8)-->
     57  <xsl:param name="ulink.hyphenate" select="'​'"/>
    5658
    5759  <!-- List of characters to allow ulink URLs, and supported inline tags,
Note: See TracChangeset for help on using the changeset viewer.