metanorma-utils 1.4.6 → 1.4.7

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: 6cb00a5f8e7ff86f9d16128e0c8cb1587c24897b17377ef72238ef53b26a6679
4
- data.tar.gz: 52620169a6fc3515cd8be7ecc7f6926759382d05f57faa5dd40acf29d8f8c649
3
+ metadata.gz: ae7569a06bdfe875046b5be65f0912e5204b96bd4c5dbb361491468a7f997550
4
+ data.tar.gz: 7cd8d59f00b0fe8b9612714600d6307e60b94e3348131e46159eceee366e39f1
5
5
  SHA512:
6
- metadata.gz: 94acee04cfb8fde0caa49de7d0c88e18e6796af8871f0ba3b374b07c1172f86290abf641590fa5c7c3f13c52b3d492c907444142c439b322df8c914cc8a81527
7
- data.tar.gz: 4c613bf6368276e0472e96f1fd44c55f87e42e1935aaa24482c39ae68cca6861456929ad18afbebc0f3ddedd271d83ed6511cd96df0d3608866cf0e9d8827383
6
+ metadata.gz: fff3b9d16f1f85fcb21fdb1566511981bbf6f8f818734e8e1132509ca64a4c567f415804de8b2de523d8a7aa6d15ff0dd0c598e7f7625609b2a025a74eacda2e
7
+ data.tar.gz: cd51c325d680666ebc08418018589ef97a9f783488ce962e9866430e7af7bdc8c72b1fa60ab46e4194b0a871f1c7397a307028d904244051948fc36cc34848a1
data/lib/utils/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Utils
3
- VERSION = "1.4.6".freeze
3
+ VERSION = "1.4.7".freeze
4
4
  end
5
5
  end
data/lib/utils/xml.rb CHANGED
@@ -86,6 +86,13 @@ module Metanorma
86
86
  end
87
87
  end.join
88
88
  end
89
+
90
+ # all element/attribute pairs that are ID anchors in Metanorma
91
+ def anchor_attributes
92
+ [%w[* id], %w[* bibitemid], %w[review from],
93
+ %w[review to], %w[index to], %w[xref target],
94
+ %w[callout target]]
95
+ end
89
96
  end
90
97
  end
91
98
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.6
4
+ version: 1.4.7
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-01-15 00:00:00.000000000 Z
11
+ date: 2023-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor