diff options
| author | Marat Radchenko <marat@slonopotamus.org> | 2021-04-18 22:20:01 +0300 |
|---|---|---|
| committer | Marat Radchenko <marat@slonopotamus.org> | 2021-04-18 22:20:01 +0300 |
| commit | 2c6263f09b5d6e2f8cabbd41f8fe4bfc73f9f163 (patch) | |
| tree | 39b52acf5d555ff93b440c97232e8bfbfd886620 /lib | |
| parent | fc6c16b10a7222f3977da127ecf5d1bba284c2cc (diff) | |
ref #396 fix usage of image_attr_name var
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/asciidoctor-epub3/converter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asciidoctor-epub3/converter.rb b/lib/asciidoctor-epub3/converter.rb index 5ffdaf5..4ab339b 100644 --- a/lib/asciidoctor-epub3/converter.rb +++ b/lib/asciidoctor-epub3/converter.rb @@ -1360,7 +1360,7 @@ document.addEventListener('DOMContentLoaded', function(event, reader) { image_attrs = {} if (image_path.include? ':') && image_path =~ ImageMacroRx - logger.warn %(deprecated block macro syntax detected in :#{attr_name}: attribute) if image_path.start_with? 'image::' + logger.warn %(deprecated block macro syntax detected in :#{image_attr_name}: attribute) if image_path.start_with? 'image::' image_path = %(#{imagesdir}#{$1}) (::Asciidoctor::AttributeList.new $2).parse_into image_attrs, %w(alt width height) unless $2.empty? end |
