From: Lady Date: Fri, 20 Sep 2024 03:21:04 +0000 (-0400) Subject: Don’t remove invalid @书社:* attributes X-Git-Tag: 0.13.0~2 X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/2c60920156e8a1ff1749f3e94316510d03a53a85?ds=inline Don’t remove invalid @书社:* attributes There is a lot of difficult logic particularly around `@书社:archived-as` to remove it if it won’t have any effect. This is unnecessary and it is probably better to just leave these attributes untouched (akin to how `<书社:link>` is left untouched when invalid). --- diff --git a/lib/catalog2transform.xslt b/lib/catalog2transform.xslt index 2c555e3..10a5479 100644 --- a/lib/catalog2transform.xslt +++ b/lib/catalog2transform.xslt @@ -143,8 +143,8 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one - - + + @@ -294,17 +294,10 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one - + - - - - - - - - +