Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create_section does not register the ref #3822

Open
dalai4git opened this issue Nov 3, 2020 · 1 comment
Open

create_section does not register the ref #3822

dalai4git opened this issue Nov 3, 2020 · 1 comment
Milestone

Comments

@dalai4git
Copy link

The create_section function should probably register the ref by doing doc.register :refs, [id, sect] somewhere before
https://github.com/asciidoctor/asciidoctor/blob/master/lib/asciidoctor/extensions.rb#L152

@mojavelinux
Copy link
Member

This seems like a reasonable request. After all, it is a helper method ;)

@mojavelinux mojavelinux added this to the v2.x milestone Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants