From: Lady Date: Sun, 4 Feb 2024 21:54:35 +0000 (-0500) Subject: Don’t add attributes to non·elements in parser X-Git-Tag: 0.6.0~3 X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/7408a0a14e34cdfe3000275e36015abdff9ab631?ds=inline;hp=af5384c82a9ca4f5eec8d307f2215b4950162b6f Don’t add attributes to non·elements in parser Check to see if it is an element first with `self::*`. --- diff --git a/lib/catalog2parser.xslt b/lib/catalog2parser.xslt index ad38990..7791570 100644 --- a/lib/catalog2parser.xslt +++ b/lib/catalog2parser.xslt @@ -88,23 +88,30 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one - - - - - - - + + + + + + + + + + + - - - - - - - - - + + + + + + + + + + + +