From 062cc98516ed08bd645fdc6126e7a20ef9c29452 Mon Sep 17 00:00:00 2001 From: suroh Date: Tue, 5 Dec 2023 11:09:54 +0100 Subject: [PATCH] fixed incorrect rendering of captions in images --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index 6779a01..b2a4df6 100644 --- a/src/App.js +++ b/src/App.js @@ -43,7 +43,7 @@ export class App extends LitElement { if (detail.details) { const div = document.createElement('div') const p = document.createElement('p') - p.textContent = details + p.innerHTML = details div.appendChild(p) this.dialogEl.appendChild(div) }