X-Git-Url: https://git.ladys.computer/Shushe/blobdiff_plain/d71cc3861468e5ce418a3cf3ace5730689e41dce..a555040fdebc4432aee0c167a89e74ed1378f735:/parsers/plain.xslt diff --git a/parsers/plain.xslt b/parsers/plain.xslt index 88d8f67..3430526 100644 --- a/parsers/plain.xslt +++ b/parsers/plain.xslt @@ -6,19 +6,24 @@ SPDX-License-Identifier: MPL-2.0 <!-- ⁌ ⛩📰 书社 ∷ parsers/plain.xslt -© 2023–2024 Lady [@ Lady’s Computer]. +© 2023–2024 Lady [@ Ladys Computer]. This Source Code Form is subject to the terms of the Mozilla Public License, v 2.0. If a copy of the M·P·L was not distributed with this file, You can obtain one at <https://mozilla.org/MPL/2.0/>. --> +<!DOCTYPE transform [ + <!ENTITY xhtml 'http://www.w3.org/1999/xhtml'> +]> <transform xmlns="http://www.w3.org/1999/XSL/Transform" - xmlns:html="http://www.w3.org/1999/xhtml" + xmlns:html="&xhtml;" xmlns:书社="urn:fdc:ladys.computer:20231231:Shu1She4" version="1.0" > <书社:id>urn:fdc:ladys.computer:20231231:Shu1She4:plain.xslt</书社:id> <template match="html:script[@type='text/plain']"> - <html:pre><value-of select="."/></html:pre> + <element name="pre" namespace="&xhtml;"> + <value-of select="."/> + </element> </template> </transform>