diff --git a/src/components/views/messages/TextualBody.js b/src/components/views/messages/TextualBody.js index 7c18b8c142..04db7bd725 100644 --- a/src/components/views/messages/TextualBody.js +++ b/src/components/views/messages/TextualBody.js @@ -135,7 +135,6 @@ export default class TextualBody extends React.Component { _addCodeElement(pre) { const code = document.createElement("code"); code.append(...pre.childNodes); - pre.innerHTML = ""; pre.appendChild(code); }