isodoc 3.7.13 → 3.7.14

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4a79fa47b157e37962d2eaef82178c1f41ff4e69eb8720975fb1a1c82dd87ef6
4
- data.tar.gz: b600f8371e302f9812892ae728f4d868c91efc1bbcebd2f91923cbe01318bdd7
3
+ metadata.gz: 26304ea4ca6dbe6643bae0629a7fd656957cabe55c141061724d30458c7164af
4
+ data.tar.gz: 0b4983fa5133a0f4adc3eaa6fa6c3f5542fda815bca1073db449472235b59521
5
5
  SHA512:
6
- metadata.gz: b69dfb8db2c9ba294d16e8884ad591b79fed2334fd11e0177703725e7fa8c0dd7873a4c0c203449e7a9c03ce235dce9d3f241a1519eb6922e0d537ac7735fd26
7
- data.tar.gz: 6cd4334a9775c77c0ca256f1a90b672e30db28d0bc29508ecdb56c1cdec04d16bb53317a3b5b466db3f4833381150746ef17c90d40e694887280d3d169339093
6
+ metadata.gz: cd0777a76a09bb838217f3df671d40b6827b4167b5bf4c689d542e4327c98a8930e61cce7ba810ac5cbf6065a9b038c27724e676b019d4165efcd8054140b966
7
+ data.tar.gz: 16568ed7a5ff13793ba98729f711387f8a284d5308a96f53c39b15250caac066c9e8efe7591d1250f303d0d811c7d2e1a090097272f5b4bc700cedf203517d92
@@ -39,7 +39,10 @@ module IsoDoc
39
39
 
40
40
  def insert_fn_body_ref(fnote, body)
41
41
  ins = body.at(ns(".//p")) ||
42
- body.at(ns("./semx")).children.first.before("<p> </p>").previous
42
+ body.at(ns("./semx"))&.children&.first&.before("<p> </p>")&.previous
43
+ # no footnote body content to attach the label to,
44
+ # e.g. empty <fn/> element
45
+ ins or return
43
46
  lbl = fn_body_label(fnote)
44
47
  fnote = <<~FNOTE.strip
45
48
  <fmt-fn-label><span class='fmt-caption-label'>#{lbl}</span><span class="fmt-caption-delim"><tab/></fmt-fn-label>
@@ -1,3 +1,3 @@
1
1
  module IsoDoc
2
- VERSION = "3.7.13".freeze
2
+ VERSION = "3.7.14".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isodoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.13
4
+ version: 3.7.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-11-10 00:00:00.000000000 Z
11
+ date: 2026-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64