Skip to content

Commit

Permalink
don't set font style on index category by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed May 4, 2022
1 parent bb42158 commit f41a5fb
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 @@ -2415,7 +2415,7 @@ def @bounding_box.move_past_bottom *args # rubocop:disable Lint/NestedMethodDefi
align: :left,
inline_format: false,
margin_bottom: @theme.description_list_term_spacing,
style: (@theme.description_list_term_font_style || 'bold').to_sym
style: @theme.description_list_term_font_style&.to_sym
category.terms.each {|term| convert_index_list_item term }
# NOTE: see previous note for why we can't use margin_bottom method
if @theme.prose_margin_bottom > y - reference_bounds.absolute_bottom
Expand Down

0 comments on commit f41a5fb

Please sign in to comment.