We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee0fc8c commit 051bc7eCopy full SHA for 051bc7e
src/js/classes/TableBlock.js
@@ -30,7 +30,7 @@ class TableBlock extends AbstractDomElement {
30
if (legend) {
31
const caption = document.createElement('caption')
32
caption.className = legend.className
33
- caption.innerHTML = legend.innerHTML
+ caption.textContent = legend.textContent
34
table.insertBefore(caption, table.firstChild)
35
legend.remove()
36
}
0 commit comments