From aaf9c24bb750a69f5cbe5b7bc2397df2f639654b Mon Sep 17 00:00:00 2001 From: feruzm Date: Thu, 10 Oct 2024 22:35:43 +0530 Subject: [PATCH] fix test --- src/test/data/legacy/10.json | 2 +- src/test/data/legacy/23.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/data/legacy/10.json b/src/test/data/legacy/10.json index 8529e60..5df9ed9 100644 --- a/src/test/data/legacy/10.json +++ b/src/test/data/legacy/10.json @@ -1,5 +1,5 @@ { "id": 10, "input": "Lorem ipsum dolor sit amet.\n\netiam ut sollicitudin neque\n\nVivamus pulvinar semper porttitor", - "result": "

Lorem ipsum dolor sit amet.

\n

etiam ut sollicitudin neque

\n

Vivamus pulvinar semper porttitor

" + "result": "

Lorem ipsum dolor sit amet.

\n

etiam ut sollicitudin neque

\n

Vivamus pulvinar semper porttitor

" } diff --git a/src/test/data/legacy/23.json b/src/test/data/legacy/23.json index 98dc29a..10f5c1a 100644 --- a/src/test/data/legacy/23.json +++ b/src/test/data/legacy/23.json @@ -1,5 +1,5 @@ { "id": 23, "input": " ", - "result": "

<IMG SRC=/ onerror=\"alert(String.fromCharCode(88,83,83))\"> <IMG SRC=javascript:alert('XSS')>

" + "result": "

<IMG SRC=/ onerror=\"alert(String.fromCharCode(88,83,83))\"> <IMG SRC=javascript:alert('XSS')>

" }