diff --git a/src/typesenseInstantSearchInit.js b/src/typesenseInstantSearchInit.js index 49e079a..2813d29 100644 --- a/src/typesenseInstantSearchInit.js +++ b/src/typesenseInstantSearchInit.js @@ -154,7 +154,7 @@ const typesenseInstantSearchCreateDomElements = () => { if (timestampElement) { // Extracting and logging the content of the paragraph const timestampContent = timestampElement.textContent; - document.querySelector('#index-created-timestamp-target-search-modal').textContent = timestampContent; + document.querySelector('#index-created-timestamp-target-search-modal').textContent = `` + timestampContent + ``; } else { console.log('Element with id "index-created-timestamp-source" not found.'); }