4,114
edits
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 93: | Line 93: | ||
function getImageHtml(image) { | function getImageHtml(image) { | ||
return '<div class="image-container">' + | |||
'<img src="' + image.src + '" alt="' + image.alt + '">' + | |||
'<div class="caption">' + image.caption + '</div>' + | |||
'</div>'; | |||
} | } | ||