metanorma-standoc 1.3.25 → 1.3.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/standoc/ref.rb +1 -1
- data/lib/metanorma/standoc/version.rb +1 -1
- data/spec/asciidoctor-standoc/refs_spec.rb +2 -2
- 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: 775bf1c752d3200f542014ac45b50d4d71cf4f660a8c25e80cae21f234cbf219
|
4
|
+
data.tar.gz: 50d5cdbbdf778a7a470c2e58bd9c1c6a46c0c7d522f7ac80c984511540ac0325
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d427d6d3525c635a5303b1f4ac2078bd789ada7268f8493c26e112f985ff249a4b9d74fe466d14177962132c7903a64162a52f41d8e439a5170e2c96e3b1380
|
7
|
+
data.tar.gz: 7e052c9a72d6f530fd0de026012e3cfaed6813256ed7e979076af4da02fc05f04884e30fc69e27eb2246d721e200c6a4d368a19d1d32cd9c6344a9fbf3e6b7cf
|
@@ -142,7 +142,7 @@ module Asciidoctor
|
|
142
142
|
end
|
143
143
|
docid(t, m[:usrlbl]) if m[:usrlbl]
|
144
144
|
docid(t, /^\d+$/.match(m[:code]) ? "[#{m[:code]}]" : m[:code])
|
145
|
-
t.docnumber m[:code].sub(/^[^\d]*/, "") unless /^\d
|
145
|
+
t.docnumber m[:code].sub(/^[^\d]*/, "") unless /^\d+$|^\(.+\)$/.match(m[:code])
|
146
146
|
end
|
147
147
|
end
|
148
148
|
|
@@ -1128,7 +1128,7 @@ OUTPUT
|
|
1128
1128
|
* [[[iso123,2]]] _Standard_
|
1129
1129
|
* [[[iso124,(B)]]] _Standard_
|
1130
1130
|
* [[[iso125,1]]] _Standard_
|
1131
|
-
* [[[iso126,(
|
1131
|
+
* [[[iso126,(A1)]]] _Standard_
|
1132
1132
|
* [[[iso127,(4)XYZ 123:1066 (all parts)]]] _Standard_
|
1133
1133
|
INPUT
|
1134
1134
|
#{BLANK_HDR}
|
@@ -1155,7 +1155,7 @@ OUTPUT
|
|
1155
1155
|
<formattedref format="application/x-isodoc+xml">
|
1156
1156
|
<em>Standard</em>
|
1157
1157
|
</formattedref>
|
1158
|
-
<docidentifier type="metanorma">[
|
1158
|
+
<docidentifier type="metanorma">[A1]</docidentifier>
|
1159
1159
|
</bibitem>
|
1160
1160
|
<bibitem id='iso127'>
|
1161
1161
|
<formattedref format='application/x-isodoc+xml'>
|