Skip to content
Snippets Groups Projects
Commit 9dc82300 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

FIX: bracket escape

parent ab07228f
No related branches found
No related tags found
1 merge request!22Release 0.3
......@@ -397,19 +397,20 @@ ____________________\n""".format(i+1, len(pending_changes)) + str(el[3]))
const code_element = $("code").remove();
const entities_str = `<Response>${{code_element.text()}}</Response>`;
const entities = str2xml(entities_str);
transformation.transformEntities(entities).then((html) => {
transformation.transformEntities(entities).then((html) => {{
wrapper.find(".caosdb-f-main-entities").append(html);
wrapper.find(".caosdb-v-entity-header-buttons-list .glyphicon-comment").hide();
$(document.body).append(wrapper);
const message_bodies = $(wrapper).find(".caosdb-messages div div");
console.log(message_bodies);
for (const body of message_bodies.toArray()) {
for (const body of message_bodies.toArray()) {{
const text = body.innerHTML;
console.log(text);
body.innerHTML = markdown.textToHtml(text);
}
});
}}
}});
</script>
</body>
</html>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment