Verified Commit c570b437 authored by Dan Allen's avatar Dan Allen
Browse files

quote alt text of block image

parent 1d768573
Pipeline #3458 passed with stage
in 33 seconds
......@@ -131,7 +131,7 @@ class DocumentModelConverter {
if (target.endsWith('.svg')) {
return this.baseConverter.convert(node, transform)
}
const img = `<img src="${node.getImageUri(target)}" alt=${encodeAttributeValue(node.getAlt())}/>`
const img = `<img src="${node.getImageUri(target)}" alt="${encodeAttributeValue(node.getAlt())}"/>`
const mimeType = target.endsWith('png') ? 'image/png' : 'image/jpeg'
const targetInfo = parse(target)
return `<div class="imageblock">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment