diff --git a/juncture/components/VisualEssay.vue b/juncture/components/VisualEssay.vue index ed9f7456d..6f6394d74 100644 --- a/juncture/components/VisualEssay.vue +++ b/juncture/components/VisualEssay.vue @@ -199,6 +199,7 @@ module.exports = { // span.setAttribute('data-eid', span.attributes.eid.value) // span.classList.add('entity', 'tagged') let entityInfobox = document.createElement('ve-entity-infobox') + entityInfobox.innerHTML = span.innerHTML entityInfobox.setAttribute('qid', span.attributes.eid.value) span.replaceWith(entityInfobox) }