diff options
Diffstat (limited to 'lib/asciidoctor/pdf/converter.rb')
| -rw-r--r-- | lib/asciidoctor/pdf/converter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asciidoctor/pdf/converter.rb b/lib/asciidoctor/pdf/converter.rb index 0756df63..bae87b95 100644 --- a/lib/asciidoctor/pdf/converter.rb +++ b/lib/asciidoctor/pdf/converter.rb @@ -674,7 +674,7 @@ module Asciidoctor theme_font(:heading, level: hlevel) { start_new_part sect } end elsif chapterlike - hopts[:hidden] = hidden = true if sect.special && (sect.option? 'untitled') + hopts[:hidden] = hidden = true if sect.special && (sect.option? 'notitle') if @theme.heading_chapter_break_before != 'auto' || (@theme.heading_part_break_after == 'always' && sect == sect.parent.sections[0]) start_new = true |
