Skip to content

Commit

Permalink
fix error from formatting code [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Dec 28, 2019
1 parent be91cd7 commit ddd417b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/asciidoctor/pdf/converter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,8 @@ def convert_section sect, _opts = {}

type = nil
title = sect.numbered_title formal: true
align = (@theme[%(heading_h#{hlevel}_align)] || @theme.heading_align || @base_align).to_sym
theme_font :heading, level: (hlevel = sect.level + 1) do
align = (@theme[%(heading_h#{hlevel}_align)] || @theme.heading_align || @base_align).to_sym
if sect.part_or_chapter?
if sect.chapter?
type = :chapter
Expand Down

0 comments on commit ddd417b

Please sign in to comment.