Fix image specification bug

This commit is contained in:
Christoph Hagen 2022-12-20 00:33:25 +01:00
parent 0eee845431
commit 72e0db7f6f

View File

@ -42,7 +42,7 @@ struct HTMLElementsGenerator {
func image(file: String, width: Int, height: Int) -> String {
"""
<span class="image">
<img src="\(file)" loading="lazy" width="\(width) height="\(height)"/>
<img src="\(file)" loading="lazy" width="\(width)" height="\(height)"/>
</span>
"""
}