Fix image specification bug
This commit is contained in:
parent
0eee845431
commit
72e0db7f6f
@ -42,7 +42,7 @@ struct HTMLElementsGenerator {
|
|||||||
func image(file: String, width: Int, height: Int) -> String {
|
func image(file: String, width: Int, height: Int) -> String {
|
||||||
"""
|
"""
|
||||||
<span class="image">
|
<span class="image">
|
||||||
<img src="\(file)" loading="lazy" width="\(width) height="\(height)"/>
|
<img src="\(file)" loading="lazy" width="\(width)" height="\(height)"/>
|
||||||
</span>
|
</span>
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user