mirror of https://github.com/istio/istio.io.git
Fix handling of embedded HTML in bash command output. (#3968)
This commit is contained in:
parent
ef18deae4c
commit
fe0e67bdde
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -274,7 +274,7 @@ function handleCodeBlocks() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (output !== "") {
|
if (output !== "") {
|
||||||
output = output.replace("<", "<").replace(">", ">");
|
output = output.replace(/</g, "<").replace(/>/g, ">");
|
||||||
|
|
||||||
// apply formatting to the output?
|
// apply formatting to the output?
|
||||||
if (code.dataset.outputis) {
|
if (code.dataset.outputis) {
|
||||||
|
|
Loading…
Reference in New Issue