aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2021-03-01 18:33:15 +0000
committerbptato <nincsnevem662@gmail.com>2021-03-01 18:34:58 +0000
commitffcea626bc9e4f6978f1af85f5e42386edecf8cf (patch)
tree9105e2b520eb8d2eb143f9ad3e0a607c55daebba
parentFix small mistakes in entity test generator (diff)
downloadw3m-ffcea626bc9e4f6978f1af85f5e42386edecf8cf.tar.gz
w3m-ffcea626bc9e4f6978f1af85f5e42386edecf8cf.zip
Use &gt; instead of &gt in entity test generator
-rw-r--r--entity.js2
-rw-r--r--tests/allentity.html10
2 files changed, 6 insertions, 6 deletions
diff --git a/entity.js b/entity.js
index 98e884c..0475759 100644
--- a/entity.js
+++ b/entity.js
@@ -39,7 +39,7 @@ function gentestitem(b, c, d) {
b +
"</td>" +
"<td>" +
- c.characters.replace('&', '&amp;').replace('<', '&lt;').replace('>', '&gt') +
+ c.characters.replace('&', '&amp;').replace('<', '&lt;').replace('>', '&gt;') +
"</td>");
console.log(" </tr>");
}
diff --git a/tests/allentity.html b/tests/allentity.html
index 9b5457c..3797837 100644
--- a/tests/allentity.html
+++ b/tests/allentity.html
@@ -467,7 +467,7 @@
<td>&amp;GJcy;</td><td>0x403</td></td><td></td><td>&#x403;</td><td>&GJcy;</td><td>Ѓ</td>
</tr>
<tr>
- <td>&amp;GT;</td><td>0x3E</td></td><td></td><td>&#x3E;</td><td>&GT;</td><td>&gt</td>
+ <td>&amp;GT;</td><td>0x3E</td></td><td></td><td>&#x3E;</td><td>&GT;</td><td>&gt;</td>
</tr>
<tr>
<td>&amp;Gamma;</td><td>0x393</td></td><td></td><td>&#x393;</td><td>&Gamma;</td><td>Γ</td>
@@ -3147,7 +3147,7 @@
<td>&amp;gsiml;</td><td>0x2A90</td></td><td></td><td>&#x2A90;</td><td>&gsiml;</td><td>⪐</td>
</tr>
<tr>
- <td>&amp;gt;</td><td>0x3E</td></td><td></td><td>&#x3E;</td><td>&gt;</td><td>&gt</td>
+ <td>&amp;gt;</td><td>0x3E</td></td><td></td><td>&#x3E;</td><td>&gt;</td><td>&gt;</td>
</tr>
<tr>
<td>&amp;gtcc;</td><td>0x2AA7</td></td><td></td><td>&#x2AA7;</td><td>&gtcc;</td><td>⪧</td>
@@ -6151,7 +6151,7 @@
<td>&amp;Euml</td><td>0xCB</td></td><td></td><td>&#xCB;</td><td>&Euml</td><td>Ë</td>
</tr>
<tr>
- <td>&amp;GT</td><td>0x3E</td></td><td></td><td>&#x3E;</td><td>&GT</td><td>&gt</td>
+ <td>&amp;GT</td><td>0x3E</td></td><td></td><td>&#x3E;</td><td>&GT</td><td>&gt;</td>
</tr>
<tr>
<td>&amp;Iacute</td><td>0xCD</td></td><td></td><td>&#xCD;</td><td>&Iacute</td><td>Í</td>
@@ -6289,7 +6289,7 @@
<td>&amp;frac34</td><td>0xBE</td></td><td></td><td>&#xBE;</td><td>&frac34</td><td>¾</td>
</tr>
<tr>
- <td>&amp;gt</td><td>0x3E</td></td><td></td><td>&#x3E;</td><td>&gt</td><td>&gt</td>
+ <td>&amp;gt</td><td>0x3E</td></td><td></td><td>&#x3E;</td><td>&gt</td><td>&gt;</td>
</tr>
<tr>
<td>&amp;iacute</td><td>0xED</td></td><td></td><td>&#xED;</td><td>&iacute</td><td>í</td>
@@ -6644,7 +6644,7 @@
<td>&amp;nvge;</td><td>0x2265</td></td><td>0x20D2</td></td><td>&#x2265;&#x20D2;</td><td>&nvge;</td><td>≥⃒</td>
</tr>
<tr>
- <td>&amp;nvgt;</td><td>0x3E</td></td><td>0x20D2</td></td><td>&#x3E;&#x20D2;</td><td>&nvgt;</td><td>&gt⃒</td>
+ <td>&amp;nvgt;</td><td>0x3E</td></td><td>0x20D2</td></td><td>&#x3E;&#x20D2;</td><td>&nvgt;</td><td>&gt;⃒</td>
</tr>
<tr>
<td>&amp;nvle;</td><td>0x2264</td></td><td>0x20D2</td></td><td>&#x2264;&#x20D2;</td><td>&nvle;</td><td>≤⃒</td>