Rmove unnecessary code

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-02-24 14:10:09 +01:00
parent 024871f59d
commit 986950697b
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 0 additions and 1 deletions

View File

@ -135,7 +135,6 @@ export default class TextualBody extends React.Component {
_addCodeElement(pre) { _addCodeElement(pre) {
const code = document.createElement("code"); const code = document.createElement("code");
code.append(...pre.childNodes); code.append(...pre.childNodes);
pre.innerHTML = "";
pre.appendChild(code); pre.appendChild(code);
} }