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
Indentation issues in description lists with tagged regions #3693
Comments
The includes are a red herring here. This happens even without them. The problem seems to be the empty line after the terms in the outermost list:
If those lines are removed, it behaves as expected:
The expectation is that those empty lines between nested lists don't impact parsing. I'll try to track down why this is happening. |
mojavelinux
added a commit
to mojavelinux/asciidoctor
that referenced
this issue
Nov 3, 2023
…k if offset from parent list by empty line
mojavelinux
added a commit
to mojavelinux/asciidoctor
that referenced
this issue
Nov 5, 2023
…k if offset from parent list by empty line
mojavelinux
added a commit
to mojavelinux/asciidoctor
that referenced
this issue
Nov 5, 2023
…k if offset from parent list by empty line
mojavelinux
added a commit
to mojavelinux/asciidoctor
that referenced
this issue
Nov 5, 2023
…k if offset from parent list by empty line
mojavelinux
added a commit
to mojavelinux/asciidoctor
that referenced
this issue
Nov 7, 2023
…k if offset from parent list by empty line
mojavelinux
added a commit
to mojavelinux/asciidoctor
that referenced
this issue
Feb 20, 2024
…k if offset from parent list by empty line
mojavelinux
added a commit
to mojavelinux/asciidoctor
that referenced
this issue
Feb 20, 2024
…k if offset from parent list by empty line
mojavelinux
added a commit
that referenced
this issue
Feb 20, 2024
…f offset from parent list by empty line
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While playing with description lists, I noticed that the first item in the list is often indented improperly (i.e. not indented).
Here's a simple example involving a glossary of terms:
The two terms that use tagged regions are pulling them from a file that contains content like this:
When I build this page (e.g.
asciidoctor test.asciidoc -D output/docs
), you can see that the "leader index" description is not indented properly:It seems to consistently be a problem only for the first item in the list. When I inspect the output, it seems to show that the
<dd>
is missing as follows:I can work around the problem by omitting the continuation character from the first entry in each list. For example:
But that work-around falls apart when there happen to be more than one paragraph in the tagged region. For example:
The text was updated successfully, but these errors were encountered: