Shreyash Karandikar
4 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
1 deletions
-
docs/en/docs/js/custom.js
|
|
|
@ -85,7 +85,9 @@ function setupTermynal() { |
|
|
|
.filter(line => line.type === "input") |
|
|
|
.map(line => line.value) |
|
|
|
.join("\n"); |
|
|
|
node.textContent = inputCommands; |
|
|
|
const plainTextExtractor = document.createElement("div"); |
|
|
|
plainTextExtractor.innerHTML = inputCommands; |
|
|
|
node.textContent = plainTextExtractor.textContent; |
|
|
|
const div = document.createElement("div"); |
|
|
|
node.style.display = "none"; |
|
|
|
node.after(div); |
|
|
|
|