Sha256: 8c1730b276de637034cf28be0cbdb3fb0009c5fae7744f8c8e091998c6ef0985

Contents?: true

Size: 337 Bytes

Versions: 2

Compression:

Stored size: 337 Bytes

Contents

- haml_tag_if((attr? :link), :a, {href: (attr :link)}) do
  - href_target = target
  %ac:image{ "ac:alt" => (attr :alt), "ac:height" => (attr :height), "ac:width" => (attr :width) }
    - if uri_link? href_target
      %ri:url{ "ri:value" => href_target }/
    - else
      %ri:attachment{ "ri:filename" => File.basename(href_target) }/

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
asciidoctor-confluence_publisher-0.1.1 template/inline_image.html.haml
asciidoctor-confluence_publisher-0.1.0 template/inline_image.html.haml