templates/audio.html in asciidoctor-htmlbook-0.0.3 vs templates/audio.html in asciidoctor-htmlbook-0.0.4
- old
+ new
@@ -1,6 +1,6 @@
<audio src="{{ node.attributes.target }}"
controls="controls"
- {% if node.attributes.options contains 'autoplay' %}autoplay="autoplay"{% endif %}
- {% if node.attributes.options contains 'loop' %}loop="loop"{% endif %}>
+ {% if node.attributes.autoplay-option %}autoplay="autoplay"{% endif %}
+ {% if node.attributes.loop-option %}loop="loop"{% endif %}>
<em>Sorry, the <auido> element not supported in your reading system.</em>
</audio>