fixed incorrect rendering of captions in images
This commit is contained in:
parent
8eb9ab9477
commit
062cc98516
|
@ -43,7 +43,7 @@ export class App extends LitElement {
|
||||||
if (detail.details) {
|
if (detail.details) {
|
||||||
const div = document.createElement('div')
|
const div = document.createElement('div')
|
||||||
const p = document.createElement('p')
|
const p = document.createElement('p')
|
||||||
p.textContent = details
|
p.innerHTML = details
|
||||||
div.appendChild(p)
|
div.appendChild(p)
|
||||||
this.dialogEl.appendChild(div)
|
this.dialogEl.appendChild(div)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue