attributes without values
zeratax opened this issue · 0 comments
zeratax commented
if i want to embed audio I usually do something like this:
<audio controls src="Horse.mp3"></audio>
or
<audio controls>
<source src="Horse.mp3">
</audio>
but in both cases I can't create the controls attribute and I also can not create source
Edit:
This apparently works, though would be nice if this would be documented anywhere and if the 2nd option would also be possible.
audio(controls: "", src: "Horse.mp3") do
end