diff --git a/validation/src/static/scripts/index.ts b/validation/src/static/scripts/index.ts index 4b71ed1d..75d1c9b5 100644 --- a/validation/src/static/scripts/index.ts +++ b/validation/src/static/scripts/index.ts @@ -151,7 +151,7 @@ const getWPTComparison = async () => { wptResults.innerHTML = `
View the results for the Web Platform Tests comparison - Run ${wptResultId}
`; } else if (rawResponse.status === 400) { const error = await rawResponse.json(); - wptResults.innerHTML = `
Error: ${error.message}
`; + wptResults.innerText = `
Error: ${error.message}
`; } };