From 97f14efe8fc31651b8560057c6e2c455f0e826dd Mon Sep 17 00:00:00 2001
From: Poltern <2363951+Poltern@users.noreply.github.com>
Date: Sun, 26 Nov 2023 21:46:04 +0500
Subject: [PATCH] Generate utf-8 encoded html (needs to be tested)
---
Makefile | 4 ++--
stylesheets/lfs-xsl/chunk-slave.xsl | 3 ---
tidy.conf | 3 ---
3 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/Makefile b/Makefile
index cffced9..407e9f6 100644
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,7 @@ book: validate profile-html
true; \
/bin/bash obfuscate.sh $$filename; \
sed -e "s@text/html@application/xhtml+xml@g" \
- -e "s/\#xa9/\©/ " \
+# -e "s/\#xa9/\©/ " \
-i $$filename; \
done;
@@ -117,7 +117,7 @@ nochunks: validate profile-html
$(Q)sed -i -e "s@text/html@application/xhtml+xml@g" $(BASEDIR)/$(NOCHUNKS_OUTPUT)
$(Q)sed -i -e "s@../wget-list@wget-list@" $(BASEDIR)/$(NOCHUNKS_OUTPUT)
$(Q)sed -i -e "s@../md5sums@md5sums@" $(BASEDIR)/$(NOCHUNKS_OUTPUT)
- $(Q)sed -i -e "s@\#xa9@\©@" $(BASEDIR)/$(NOCHUNKS_OUTPUT)
+# $(Q)sed -i -e "s@\#xa9@\©@" $(BASEDIR)/$(NOCHUNKS_OUTPUT)
@echo "Output at $(BASEDIR)/$(NOCHUNKS_OUTPUT)"
diff --git a/stylesheets/lfs-xsl/chunk-slave.xsl b/stylesheets/lfs-xsl/chunk-slave.xsl
index 632d6ab..1482ae3 100644
--- a/stylesheets/lfs-xsl/chunk-slave.xsl
+++ b/stylesheets/lfs-xsl/chunk-slave.xsl
@@ -10,9 +10,6 @@
-
-
-
diff --git a/tidy.conf b/tidy.conf
index 3d1a500..fc36728 100644
--- a/tidy.conf
+++ b/tidy.conf
@@ -1,9 +1,6 @@
indent-spaces: 2
wrap: 78
tab-size: 8
-#input-encoding: UTF-8
-#output-encoding: UTF-8
-char-encoding: utf8
write-back: yes
markup: yes
indent: yes