]> Lady’s Gitweb - Shushe/commitdiff
Explicitly declare UTF-8 output for all transforms 0.2.3
authorLady <redacted>
Sat, 6 Jan 2024 04:44:09 +0000 (23:44 -0500)
committerLady <redacted>
Sat, 6 Jan 2024 05:03:49 +0000 (00:03 -0500)
This prevents needless character escaping when building the parser and
transforms.

lib/catalog2parser.xslt
lib/catalog2transform.xslt

index 0da26b853831943a649a03bcf77a88d7cd97662f..f35fbc12572d8e87794c64131f13129194b7fd7f 100644 (file)
@@ -34,4 +34,5 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                        </xslt:template>
                </xslt:transform>
        </template>
                        </xslt:template>
                </xslt:transform>
        </template>
+       <output method="xml" encoding="UTF-8"/>
 </transform>
 </transform>
index aa490af7b5529ad13d06feb21d800df2327e3c39..3339062968fce1faf72cc637f903f6bbdeb2c1c5 100644 (file)
@@ -146,4 +146,5 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                        <xslt:output method="xml" encoding="UTF-8" cdata-section-elements="html:script html:style html:textarea"/>
                </xslt:transform>
        </template>
                        <xslt:output method="xml" encoding="UTF-8" cdata-section-elements="html:script html:style html:textarea"/>
                </xslt:transform>
        </template>
+       <output method="xml" encoding="UTF-8"/>
 </transform>
 </transform>
This page took 0.028995 seconds and 4 git commands to generate.