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 +4 -4
- data/kramdown-rfc2629.gemspec +1 -1
- data/lib/kramdown-rfc/autolink-iref-cleanup.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd4b84a97e79385787341f72d184839730c05ab3e33021823c9d83c87faef47e
|
4
|
+
data.tar.gz: 8df16059c4ffaeb27578151471aaac730f8cfa4c549dbaf922a3c590265743f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6222277e78f07ee3fc05c40cd7d1b0e5ec197f600e49e395e33fc5b3975865a6c3fbcaf310934d3b3e6ddcbc260e69ce878b8f3fbcb99b9824204b1c4759ed1f
|
7
|
+
data.tar.gz: ee98f5323fbf5c590b983d1faa181fd6ce459d5e40ecdfa7868773aa739f6332be0c32e2c336576364703c06d2ed0df884d9429385d0fc7d626275f8c8a558a7
|
data/kramdown-rfc2629.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
spec = Gem::Specification.new do |s|
|
2
2
|
s.name = 'kramdown-rfc2629'
|
3
|
-
s.version = '1.6.
|
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.
|
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.
|
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-
|
11
|
+
date: 2023-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: kramdown
|