struct ImageCompare: HtmlProducer { let left: ImageSet let right: ImageSet static let extraAttributes = " draggable='false''" static var requiredIcon: PageIcon { .leftRightArrow } func populate(_ result: inout String) { result += "
" result += "
\(left.content)
" result += "
\(right.content)
" result += "
" result += "" result += "
" // Close drag, image-compare } }