From 875eb452d90bb8ce0c84538c2b7bc6cc75160c61 Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Sat, 16 Oct 2021 11:07:18 -0700 Subject: [PATCH] Remove newline in input file for now. --- examples/escaping/dist/escaping/index.html | 6 ++---- examples/escaping/unsafe-script-tag.txt | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/examples/escaping/dist/escaping/index.html b/examples/escaping/dist/escaping/index.html index f532b1e7..cb80cc6f 100644 --- a/examples/escaping/dist/escaping/index.html +++ b/examples/escaping/dist/escaping/index.html @@ -21,16 +21,14 @@ let prefetchedPages=[window.location.pathname],initialLocationHash=document.loca - +

Hello! 2 > 1

<script></script> is unsafe in JSON unless it is escaped properly. -<script></script> is unsafe in JSON unless it is escaped properly. -
+}

Hello! 2 > 1

<script></script> is unsafe in JSON unless it is escaped properly.<script></script> is unsafe in JSON unless it is escaped properly. \ No newline at end of file diff --git a/examples/escaping/unsafe-script-tag.txt b/examples/escaping/unsafe-script-tag.txt index 5fa35769..296f0e00 100644 --- a/examples/escaping/unsafe-script-tag.txt +++ b/examples/escaping/unsafe-script-tag.txt @@ -1 +1 @@ - is unsafe in JSON unless it is escaped properly. + is unsafe in JSON unless it is escaped properly. \ No newline at end of file