@jinntec/jinntap 1.22.0 → 1.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31244,8 +31244,8 @@ x4(`
31244
31244
  case element(tei:title) return
31245
31245
  element { node-name($node) } {
31246
31246
  $node/@*,
31247
- if ($node/ancestor::tei:titleStmt) then
31248
- <title xmlns="http://www.tei-c.org/ns/1.0">{$meta?title}</title>
31247
+ if ($node/ancestor::tei:titleStmt and map:contains($meta, 'title')) then
31248
+ $meta?title
31249
31249
  else
31250
31250
  jt:export($node/node(), $input, $meta)
31251
31251
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jinntec/jinntap",
3
- "version": "1.22.0",
3
+ "version": "1.22.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.es.js",
6
6
  "module": "./dist/index.es.js",