Skip to content

Fix broken chapter 3 handling in Asciidoctor#2

Open
ashokfaire wants to merge 1 commit into
pberry:mainfrom
ashokfaire:fix-missing-chapter-3-intro
Open

Fix broken chapter 3 handling in Asciidoctor#2
ashokfaire wants to merge 1 commit into
pberry:mainfrom
ashokfaire:fix-missing-chapter-3-intro

Conversation

@ashokfaire
Copy link
Copy Markdown

  • Add trailing whitespace to chapter 2. (8e00900)

    This appears to fix a problem where chapter 3 is not recognized as a chapter, and drops the introductory text (in Asciidoctor 2.0.26).

    It would also work to add this newline above the chapter 3 title, but I think this makes more sense.

    I haven't read the asciidoc syntax in detail, and the file does have an existing terminal newline, but presumably it expects multiple newlines to work correctly in this particular circumstance.

This appears to fix a problem where chapter 3 is not recognized as a chapter, and drops the introductory text (in Asciidoctor 2.0.26).

It would also work to add this newline above the chapter 3 title, but I think this makes more sense.

I haven't read the asciidoc syntax in detail, and the file does have an existing terminal newline, but presumably it expects multiple newlines to work correctly in this particular circumstance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant