From: Lady <redacted>
Date: Thu, 18 Jan 2024 14:06:39 +0000 (-0500)
Subject: Remove classes from parse results
X-Git-Tag: 0.4.0^0
X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/dd06ce4e3cff56b8258466099867b0b9de8382da

Remove classes from parse results

Now that `@书社:parsed-by` is provided, these are unnecessary.
---

diff --git a/parsers/plain.xslt b/parsers/plain.xslt
index c12cbe5..6008698 100644
--- a/parsers/plain.xslt
+++ b/parsers/plain.xslt
@@ -15,6 +15,6 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
 >
 	<书社:id>urn:fdc:ladys.computer:20231231:Shu1She4:plain.xslt</书社:id>
 	<template match="html:script[@type='text/plain']">
-		<html:pre class="plain"><value-of select="."/></html:pre>
+		<html:pre><value-of select="."/></html:pre>
 	</template>
 </transform>
diff --git a/parsers/record-jar.xslt b/parsers/record-jar.xslt
index db8948e..7690b1c 100644
--- a/parsers/record-jar.xslt
+++ b/parsers/record-jar.xslt
@@ -19,7 +19,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
 	<书社:id>urn:fdc:ladys.computer:20231231:Shu1She4:record-jar.xslt</书社:id>
 	<template match="html:script[@type='text/record-jar']">
 		<variable name="lines" select="exslstr:tokenize(., '&#xA;')"/>
-		<html:div class="record-jar">
+		<html:div>
 			<for-each select="$lines[not(position()=1) and starts-with(., '%%')]">
 				<variable name="end" select="."/>
 				<variable name="start" select="preceding-sibling::*[starts-with(., '%%')][1]"/>
diff --git a/parsers/tsv.xslt b/parsers/tsv.xslt
index ad7052e..a3dd927 100644
--- a/parsers/tsv.xslt
+++ b/parsers/tsv.xslt
@@ -21,7 +21,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
 		<variable name="rows" select="exslstr:tokenize(., '&#xA;')[normalize-space(.) and not(starts-with(., '#'))]"/>
 		<variable name="head" select="$rows[1]"/>
 		<variable name="body" select="$rows[not(position()=1)]"/>
-		<html:table class="tsv">
+		<html:table>
 			<html:thead>
 				<html:tr>
 					<for-each select="exslstr:tokenize($head, '&#x9;')">