Changeset 0432a3a


Ignore:
Timestamp:
01/14/2024 09:36:12 PM (4 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
12.1, 12.1-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
b8194e0
Parents:
855d0c9
Message:

Generate utf-8 for lfs-nochunks too

This involves:

  • removing the <xsl:output ...> element from nochunks.xsl
  • adding a sed for rmoving the invalid xmlns:xlink attribute
  • removing the sed for "&copy;"
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r855d0c9 r0432a3a  
    102102#                $(RENDERTMP)/lfs-html2.xml
    103103
     104        $(Q)sed 's/xmlns:xlink.*xlink"//' -i $(BASEDIR)/$(NOCHUNKS_OUTPUT)
    104105        @echo "Running Tidy..."
    105106        $(Q)tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || true
     
    110111        $(Q)sed -i -e "s@../wget-list@wget-list@"            $(BASEDIR)/$(NOCHUNKS_OUTPUT)
    111112        $(Q)sed -i -e "s@../md5sums@md5sums@"                $(BASEDIR)/$(NOCHUNKS_OUTPUT)
    112         $(Q)sed -i -e "s@\xa9@\&copy;@"                      $(BASEDIR)/$(NOCHUNKS_OUTPUT)
    113113
    114114        @echo "Output at $(BASEDIR)/$(NOCHUNKS_OUTPUT)"
  • stylesheets/lfs-xsl/nochunks.xsl

    r855d0c9 r0432a3a  
    1010  <!-- Upstream XHTML templates -->
    1111  <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
    12 
    13   <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet -->
    14   <xsl:output method="html" encoding="ISO-8859-1" indent="no" />
    1512
    1613  <!-- Include our customized templates -->
Note: See TracChangeset for help on using the changeset viewer.