isodoc 2.1.0 → 2.1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/presentation_function/section.rb +1 -1
- data/lib/isodoc/version.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: dc4bad696f0cd3e8c530eaf2c0b7722379d8412a055a2431d6367a9a0d6a939b
|
4
|
+
data.tar.gz: 2529ca812cfe2e7c229c03fd9e9e2d0d367ccb92d9413837fa22446955519417
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42adec43794af927dcba7cb365d0044d2b1544a13a63f11fee15e66096e42329c6dea9949b2b4d70a2689a81daffe8d7b87772d4131199688fe4abfc88104d24
|
7
|
+
data.tar.gz: b352d2087309de8f6b478835419ebddbdf31f5dee372de95276072381332a6836d971446fe61efe4ede949c6f7798e1e34c8d6462cf41543278667242596f2ca
|
@@ -60,7 +60,7 @@ module IsoDoc
|
|
60
60
|
t.xpath(ns(".//clause | .//terms | .//definitions | .//references"))
|
61
61
|
.each do |c|
|
62
62
|
tit = c.at(ns("./title")) or return
|
63
|
-
tit["depth"] = tit["depth"].to_i - 1
|
63
|
+
tit["depth"] = tit["depth"].to_i - 1 unless tit["depth"] == "1"
|
64
64
|
end
|
65
65
|
end
|
66
66
|
|
data/lib/isodoc/version.rb
CHANGED