Re: create_section and references

Posted by dalai on
URL: https://discuss.asciidoctor.org/create-section-and-references-tp8334p8338.html

I think this is a bug, the ref is not being registered in the create_section function. Adding

doc.register :refs, [id, sect]

to the extensions.rb fixes it for me. I opened a ticket: https://github.com/asciidoctor/asciidoctor/issues/3822