metanorma-standoc 2.5.3 → 2.5.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e909b2a76be142e305b420f79f8d6da87ab4b6106b391c666bb9f61c3b65a3e
4
- data.tar.gz: 300b7c8578c9da40fa9241b714041c0cf320b7351a73f536b4df26bd3861f9f3
3
+ metadata.gz: ffaa13eaacb9efa7c94a2e891d4e7a90b9306a729510f8f2c0b0110e68a4ec49
4
+ data.tar.gz: 63dc9c98c8a1657aa6d0871105d0e21b8720378d0606b8e819b7f75606763964
5
5
  SHA512:
6
- metadata.gz: 9a93b92c8da197cb4adccb1111b6da0d45199f707c62574a9000f7bbc0b7a01c81105fa5db81e85c3db91b26899efd60a59aa8e31e0d7b6357726a2b11eabf1d
7
- data.tar.gz: 37d9cd30e6ecf8bc5e6e98bf27c23843554a538e9691511e2020979d9652ed2e1a242d754a2cafadac45c737ac9cda3fa94fabae805c827dd026ea0490a969b0
6
+ metadata.gz: 771694d3618c4d671d5ebf6006f502717d9c30c34e72b9385efcabcf9a5a504d4a47ca7a862dbcea7f5c7f7d3b8db18a73afba8d367bfc974fcc7b7981944967
7
+ data.tar.gz: 8c5ca650403236e66e3e6fff578889977f86812cd8127e0521257427c97e6a5425437cdc9f4f10208d865ee71fdbc26da1faff28430cb7633bc2829bc641058c
@@ -176,7 +176,8 @@ module Metanorma
176
176
  reference = format_ref(docid.children.to_xml,
177
177
  docid["type"])
178
178
  { xref: reference, id: idtype2cit(ref) }
179
- else { xref: ref["id"], id: ref["id"] }
179
+ else
180
+ { xref: ref["id"], id: { "" => ref["id"] } }
180
181
  end
181
182
  end
182
183
  end
@@ -129,6 +129,7 @@ module Metanorma
129
129
 
130
130
  def inlinelink(text)
131
131
  text.include?("://") or return text
132
+ /^\[.*\]\s*$/.match?(text) and return text
132
133
  pass_inline_split(text) do |x|
133
134
  inlinelink_escape(x)
134
135
  end.join
@@ -19,6 +19,6 @@ module Metanorma
19
19
  end
20
20
 
21
21
  module Standoc
22
- VERSION = "2.5.3".freeze
22
+ VERSION = "2.5.5".freeze
23
23
  end
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-standoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.3
4
+ version: 2.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-28 00:00:00.000000000 Z
11
+ date: 2023-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable