From: Lady <redacted>
Date: Sat, 6 Jan 2024 03:57:59 +0000 (-0500)
Subject: Fix <html:head> copying
X-Git-Tag: 0.2.2
X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/08e9b0643b4b502a54b509f40861d975ecad6368?ds=inline

Fix <html:head> copying
---

diff --git a/lib/catalog2transform.xslt b/lib/catalog2transform.xslt
index c91b011..d76fc4d 100644
--- a/lib/catalog2transform.xslt
+++ b/lib/catalog2transform.xslt
@@ -114,7 +114,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
 			<xslt:template match="text()" mode="书社:metadata"/>
 			<xslt:template match="/" mode="书社:wrap">
 				<xslt:variable name="metadata">
-					<xslt:copy-of select="html/head/*"/>
+					<xslt:copy-of select="html:html/html:head/*"/>
 					<xslt:apply-templates select="." mode="书社:metadata"/>
 					<xslt:apply-templates select="document('')/xslt:transform/xslt:include" mode="书社:metadata"/>
 				</xslt:variable>