We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c19a864 commit 44db442Copy full SHA for 44db442
app/assets/javascripts/editor/evaluation.js
@@ -234,7 +234,7 @@ CodeOceanEditorEvaluation = {
234
if (parsedElement.src.startsWith("data:image")) {
235
const sanitizedImg = document.createElement('img');
236
sanitizedImg.src = parsedElement.src;
237
- sanitizedContent = sanitizedImg.outerHTML;
+ sanitizedContent = sanitizedImg.outerHTML + "\n";
238
}
239
240
0 commit comments