asciidoctor-html 2.3.4 → 2.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9428a549d06493fcabe63cba845de7c0cd275944c8c57e4a35920aa5576dcd3
4
- data.tar.gz: 69838d8789035000759f9abdd3c07e1582cd8613feab0d307d23354e33ef8461
3
+ metadata.gz: 1f77a4edfd09520b2a2661bf71699077d08ac09290a8ab16850fe6d71609427c
4
+ data.tar.gz: a51973d02b79daa7de8db2f078d2eb73d2d6a66acdc78e909f0ea09e8edbe282
5
5
  SHA512:
6
- metadata.gz: 156c9994761407fd78a1082bdf16e8abda9288f8a179fe065824e4b1e1d391f981ec151c54072250254f80d5734e1abecab31e28fe892ce5bd63530bd238f675
7
- data.tar.gz: 10a01e20908c72680a372a455ad100b777765f0ea99e5a71f42c36e686e5ba40615c4a1888358f61cceabbd56cd6ab5d3d1096427904ec3f18ac7bfee485b78a
6
+ metadata.gz: 7f18e427a52486c5a7a97a7547755848944da062458f68a64c784e090c190e4f02e2520db080e37e212031731943778e4853f9c074f90b3f558a2dc7a20d953f
7
+ data.tar.gz: 37a157557b316b87c7b9ac0eccab5a1d0e6ee1ef5dca6a018a5b02ad78307429b72556a1d0f0a46d19c0eb33d6135f89292f38922fd91bb60cdef45ff2e6ff00
data/CHANGELOG.md CHANGED
@@ -336,3 +336,7 @@
336
336
 
337
337
  - Fix duplicate and wrongly numbered footnotes.
338
338
  - Increase scollbar contrast.
339
+
340
+ ## [2.4.5] - 2026-11-21
341
+
342
+ - Fix footnote number regex to handle multiple digits.
@@ -110,7 +110,7 @@ module Asciidoctor
110
110
 
111
111
  def self.display_footnotes(node, content)
112
112
  footnotes = []
113
- content.scan(/data-contentid="_footnotedef_(\d)"/) do |matches|
113
+ content.scan(/data-contentid="_footnotedef_(\d+?)"/) do |matches|
114
114
  index = matches&.first&.to_i
115
115
  fn = node.document.footnotes.select { |fn| fn.index == index }.first
116
116
  next unless fn
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Asciidoctor
4
4
  module Html
5
- VERSION = "2.3.4"
5
+ VERSION = "2.3.5"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-html
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.4
4
+ version: 2.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ravi Rajani