kramdown-rfc2629 1.6.41 → 1.6.42

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: 2286f771b6e0e4c0076943423368a230cd99236217f66ffc885a9b8189b118e7
4
- data.tar.gz: 2769ebdb763e2487e91e5a9035d36c236f85fc87bfe6a41eafa094bd82271e4e
3
+ metadata.gz: bd4b84a97e79385787341f72d184839730c05ab3e33021823c9d83c87faef47e
4
+ data.tar.gz: 8df16059c4ffaeb27578151471aaac730f8cfa4c549dbaf922a3c590265743f7
5
5
  SHA512:
6
- metadata.gz: 331795b0a1ba4eb39cff381790c2b53932f748074232d0b2c212e8b88f643bf95a24df9ccf4b8e6297fdc50ac0a86835b2083690304773563ab7afbc88e8e3f8
7
- data.tar.gz: 1b396ec4758aec2c343dfeaa5f4102f3f9551877160e6ccedc1d1b997e0db850732dfa0ba4ae09346c5ddf47fca273f80eeb7c2cffe387f1236a6388621d8f45
6
+ metadata.gz: 6222277e78f07ee3fc05c40cd7d1b0e5ec197f600e49e395e33fc5b3975865a6c3fbcaf310934d3b3e6ddcbc260e69ce878b8f3fbcb99b9824204b1c4759ed1f
7
+ data.tar.gz: ee98f5323fbf5c590b983d1faa181fd6ce459d5e40ecdfa7868773aa739f6332be0c32e2c336576364703c06d2ed0df884d9429385d0fc7d626275f8c8a558a7
@@ -1,6 +1,6 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'kramdown-rfc2629'
3
- s.version = '1.6.41'
3
+ s.version = '1.6.42'
4
4
  s.summary = "Kramdown extension for generating RFCXML (RFC 799x)."
5
5
  s.description = %{An RFCXML (RFC 799x) generating backend for Thomas Leitner's
6
6
  "kramdown" markdown parser. Mostly useful for RFC writers.}
@@ -6,7 +6,7 @@ def autolink_iref_cleanup(d)
6
6
  anchor = sec['anchor']
7
7
  irefs = {}
8
8
  sec.get_elements(".//xref[@target='#{anchor}'][@format='none']").each do |xr|
9
- ne = xr.next_element
9
+ ne = xr.previous_element # 9c87e84 iref now before xref
10
10
  if ne && ne.name == "iref" && (item = ne['item'])
11
11
  irefs[item] = ne['subitem'] # XXX one subitem only
12
12
  ne.remove
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kramdown-rfc2629
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.41
4
+ version: 1.6.42
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carsten Bormann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-21 00:00:00.000000000 Z
11
+ date: 2023-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kramdown