isodoc 2.12.2 → 2.12.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/version.rb +1 -1
- data/lib/isodoc/word_function/postprocess_toc.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30063a7d69417bee799a6e513cb30a21d9c9cf88cdbb80a363bef79c838f67d5
|
4
|
+
data.tar.gz: fa0af3cd1ab696ce85149f0887f06e69c8d1190a902bd67891979cb6a53ee93e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0282678a13b6a8027c563c441d2b2bf17e71cef27db296a8f227bdbc09b9996ca1458a61d3e972d6f6327ba65995ce4c1af094cc25c19c9c430ba42726ba4d76'
|
7
|
+
data.tar.gz: 91e15265573da4a24b6b4e04081ffe220ac1c5d48fe498b506c7f9d52d743cbc8a82ec230e77afae34becea0f8fced0801ccb6da6b1540ea9aca8705b4759e3b
|
data/lib/isodoc/version.rb
CHANGED
@@ -169,7 +169,7 @@ module IsoDoc
|
|
169
169
|
def recommmendation_sort_key(header)
|
170
170
|
m = /^([^0-9]+) (\d+)/.match(header) || /^([^:]+)/.match(header)
|
171
171
|
m ||= [header, nil]
|
172
|
-
ret = "#{recommmendation_sort_key1(m[1])}::"
|
172
|
+
ret = "#{recommmendation_sort_key1(m[1]&.strip)}::"
|
173
173
|
m[2] and ret += ("%04d" % m[2].to_i).to_s
|
174
174
|
ret
|
175
175
|
end
|