summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/asciidoctor/pdf/converter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asciidoctor/pdf/converter.rb b/lib/asciidoctor/pdf/converter.rb
index b150f30e..676ac4d2 100644
--- a/lib/asciidoctor/pdf/converter.rb
+++ b/lib/asciidoctor/pdf/converter.rb
@@ -626,7 +626,7 @@ module Asciidoctor
end
end
- def convert_section sect, _opts = {}
+ def convert_section sect, _opts = nil
if (sectname = sect.sectname) == 'abstract'
# HACK: cheat a bit to hide this section from TOC; TOC should filter these sections
sect.context = :open