Skip to content

Commit

Permalink
drop unnecessary parens
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Jan 19, 2024
1 parent bee8613 commit bc52404
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 @@ -3615,7 +3615,7 @@ def ink_running_content periphery, doc, skip = [1, 1], body_start_page_number =
next if page.imported_page? || (disable_on_pages.include? pgnum)
virtual_pgnum = pgnum - skip_pagenums
pgnum_label = (virtual_pgnum < 1 ? (RomanNumeral.new pgnum, :lower) : virtual_pgnum).to_s
side = page_side((@folio_placement[:basis] == :physical ? pgnum : virtual_pgnum), @folio_placement[:inverted])
side = page_side (@folio_placement[:basis] == :physical ? pgnum : virtual_pgnum), @folio_placement[:inverted]
doc.set_attr 'page-layout', page.layout.to_s

# NOTE: running content is cached per page layout
Expand Down

0 comments on commit bc52404

Please sign in to comment.