data/templates/inline_image.html.slim in asciidoctor-html5s-0.2.1 vs data/templates/inline_image.html.slim in asciidoctor-html5s-0.3.0
- old
+ new
@@ -4,7 +4,7 @@
- elsif type == 'icon' && !(document.attr? :icons)
b class=['icon', role] title=(attr :title)
| [#{attr :alt}]
- else
img (src=(type == 'icon' ? (icon_uri target) : (image_uri target))
- alt=(attr :alt) width=(attr :width) height=(attr :height) title=(attr :title)
+ alt=(attr :alt) width=(attr :width) height=(attr :height) title=(attr :title) loading=(attr :loading)
class=[(type if type != 'image'), role] style=style_value(float: (attr :float)))