diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2020-12-13 23:56:16 -0700 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2020-12-14 02:06:30 -0700 |
| commit | d8f65057dcf7da3f2e0aa899185c210c54c8dca8 (patch) | |
| tree | 3e3eee7f025473309a0691b0b4cb90e5d9369b95 | |
| parent | 6dca7bc0502ed32d85696b5805737c2b1ceab2c3 (diff) | |
fix comment about special sections [skip ci]
| -rw-r--r-- | lib/asciidoctor/parser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asciidoctor/parser.rb b/lib/asciidoctor/parser.rb index 7bf07a5c..e9986014 100644 --- a/lib/asciidoctor/parser.rb +++ b/lib/asciidoctor/parser.rb @@ -327,7 +327,7 @@ class Parser if current_level == 0 part = book elsif current_level == 1 && section.special - # NOTE technically preface and abstract sections are only permitted in the book doctype + # NOTE technically preface sections are only permitted in the book doctype unless (sectname = section.sectname) == 'appendix' || sectname == 'preface' || sectname == 'abstract' expected_next_level = nil end |
