Skip to content

Commit

Permalink
Merge pull request #22 from RandomCore/fix-refs
Browse files Browse the repository at this point in the history
Fixed: possible invalid reference
  • Loading branch information
Alwinator authored Jun 4, 2024
2 parents 9eaf004 + 74d732c commit 9f88748
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/asciidoctor-lists/extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def process(document)
if element.caption or element.title
unless element.id
element.id = SecureRandom.uuid
document.catalog[:refs][element.id] = element
end

if enhanced_rendering
Expand Down

0 comments on commit 9f88748

Please sign in to comment.