From: Lady Date: Mon, 1 Jan 2024 18:22:23 +0000 (-0500) Subject: Allow output wrapping to be disabled X-Git-Tag: 0.2.0~6 X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/3cf024ba39dd17687e1b66e4aeb2f140342b1993?ds=sidebyside Allow output wrapping to be disabled This also extracts wrapping out into a separate mode, `书社:wrap`, enabling it to be overridden by transforms if necessary. --- diff --git a/README.markdown b/README.markdown index 2bb1bce..681e8c4 100644 --- a/README.markdown +++ b/README.markdown @@ -351,6 +351,10 @@ This mechanism can be used to allow transforms to insert content ``` +Output wrapping can be entirely disabled by adding a + `@书社:disable-output-wrapping` attribute to the top‐level element in + the result tree. + ## License Source files are licensed under the terms of the Mozilla Public diff --git a/lib/catalog2transform.xslt b/lib/catalog2transform.xslt index 08918b2..6044a13 100644 --- a/lib/catalog2transform.xslt +++ b/lib/catalog2transform.xslt @@ -7,6 +7,9 @@ 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 . --> + +]>