mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 07:16:17 +08:00
fix(url handler): escape html
This commit is contained in:
parent
876f6c0a0d
commit
856beb434e
|
@ -189,7 +189,7 @@ export function loadTestSettingsFromUrl(getOverride?: string): void {
|
|||
Object.keys(applied).forEach((setKey) => {
|
||||
const set = applied[setKey];
|
||||
if (set !== undefined) {
|
||||
appliedString += `${setKey}${set ? ": " + set : ""}<br>`;
|
||||
appliedString += `${setKey}${Misc.escapeHTML(set ? ": " + set : "")}<br>`;
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue