mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-22 07:46:16 -04:00
Tidied up HTML Entity operations
This commit is contained in:
parent
a7d4e37851
commit
5a83ef4f48
2 changed files with 8 additions and 6 deletions
|
@ -19,7 +19,7 @@ class ToHTMLEntity extends Operation {
|
|||
super();
|
||||
|
||||
this.name = "To HTML Entity";
|
||||
this.module = "Default";
|
||||
this.module = "Encodings";
|
||||
this.description = "Converts characters to HTML entities<br><br>e.g. <code>&</code> becomes <code>&<span>amp;</span></code>";
|
||||
this.infoURL = "https://wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references";
|
||||
this.inputType = "string";
|
||||
|
@ -33,7 +33,7 @@ class ToHTMLEntity extends Operation {
|
|||
{
|
||||
"name": "Convert to",
|
||||
"type": "option",
|
||||
"value": ["Named entities where possible", "Numeric entities", "Hex entities"]
|
||||
"value": ["Named entities", "Numeric entities", "Hex entities"]
|
||||
}
|
||||
];
|
||||
}
|
||||
|
@ -548,7 +548,7 @@ const byteToEntity = {
|
|||
8290: "⁢",
|
||||
8291: "⁣",
|
||||
8364: "€",
|
||||
8411: "⃛ ⃛",
|
||||
8411: "⃛",
|
||||
8412: "⃜",
|
||||
8450: "ℂ",
|
||||
8453: "℅",
|
||||
|
@ -998,7 +998,7 @@ const byteToEntity = {
|
|||
9722: "◺",
|
||||
9723: "◻",
|
||||
9724: "◼",
|
||||
9733: "★ ★",
|
||||
9733: "★",
|
||||
9734: "☆",
|
||||
9742: "☎",
|
||||
9792: "♀",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue