mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-22 21:42:50 +02:00
@@ -953,7 +953,7 @@ func TestJSEscaping(t *testing.T) {
|
||||
{`'foo`, `\'foo`},
|
||||
{`Go "jump" \`, `Go \"jump\" \\`},
|
||||
{`Yukihiro says "今日は世界"`, `Yukihiro says \"今日は世界\"`},
|
||||
{"unprintable \uFDFF", `unprintable \uFDFF`},
|
||||
{"unprintable \uFFFE", `unprintable \uFFFE`},
|
||||
{`<html>`, `\u003Chtml\u003E`},
|
||||
{`no = in attributes`, `no \u003D in attributes`},
|
||||
{`' does not become HTML entity`, `\u0026#x27; does not become HTML entity`},
|
||||
|
Reference in New Issue
Block a user