diff options
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/converter_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/converter_spec.rb b/spec/converter_spec.rb index 61828862..0b98840e 100644 --- a/spec/converter_spec.rb +++ b/spec/converter_spec.rb @@ -1390,7 +1390,7 @@ describe Asciidoctor::PDF::Converter do def ink_general_heading sect, title, opts = {} if (image_path = sect.attr 'image') image_attrs = { 'target' => image_path, 'pdfwidth' => '1in' } - image_block = ::Asciidoctor::Block.new sect.document, :image, content_model: :empty, attributes: image_attrs + image_block = Asciidoctor::Block.new sect.document, :image, content_model: :empty, attributes: image_attrs convert_image image_block, relative_to_imagesdir: true, pinned: true end super |
