From 5cbc514d15b5f4ce390b7fad5d17091431a38d9e Mon Sep 17 00:00:00 2001 From: bptato Date: Sun, 28 Feb 2021 14:57:27 +0100 Subject: Fix small mistakes in entity test generator --- entity.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'entity.js') diff --git a/entity.js b/entity.js index 69ca9be..98e884c 100644 --- a/entity.js +++ b/entity.js @@ -1,4 +1,4 @@ -//Usage: qjs --std entitytest.js [test/tab] > outfile +//Usage: qjs --std entity.js [test/tab] > outfile const a = getEntities(); @@ -39,7 +39,7 @@ function gentestitem(b, c, d) { b + "" + "" + - c.characters + + c.characters.replace('&', '&').replace('<', '<').replace('>', '>') + ""); console.log(" "); } @@ -47,7 +47,7 @@ function gentestitem(b, c, d) { function gentest() { console.log(""); console.log(""); - console.log(" "); console.log(""); console.log(""); console.log(" "); -- cgit v1.2.3