diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2023-04-11 23:58:33 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2023-04-12 04:27:01 -0600 |
| commit | c5d000ad2af83f71362a72d6766ed0317c1bcbbb (patch) | |
| tree | 7442f0070ad1514ff42262288928430ac143cb1e /lib | |
| parent | dfe28899d45a06ff2285211391c63d0c0b6bd1d1 (diff) | |
fix lint error
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/asciidoctor/pdf/converter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asciidoctor/pdf/converter.rb b/lib/asciidoctor/pdf/converter.rb index c9d66553..9cb39e24 100644 --- a/lib/asciidoctor/pdf/converter.rb +++ b/lib/asciidoctor/pdf/converter.rb @@ -4190,7 +4190,7 @@ module Asciidoctor str_to_pt width end elsif attrs.key? 'scale' - %(#{attrs['scale']}).extend ImageWidth + %(#{attrs['scale']}).extend ImageWidth # rubocop:disable Style/RedundantInterpolation elsif attrs.key? 'scaledwidth' # NOTE: the parser automatically appends % if value is unitless if (width = attrs['scaledwidth']).end_with? '%' |
