diff options
Diffstat (limited to 'lib/asciidoctor/pdf/converter.rb')
| -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? '%' |
