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 +4 -4
- data/lib/isodoc/presentation_function/footnotes.rb +4 -1
- data/lib/isodoc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 26304ea4ca6dbe6643bae0629a7fd656957cabe55c141061724d30458c7164af
|
|
4
|
+
data.tar.gz: 0b4983fa5133a0f4adc3eaa6fa6c3f5542fda815bca1073db449472235b59521
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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"))
|
|
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>
|
data/lib/isodoc/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2026-11-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|