mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-08 07:21:02 -04:00
[#181] add a note for later refactoring
This commit is contained in:
parent
3a10e4a4fb
commit
0aab3bdf5a
1 changed files with 4 additions and 0 deletions
|
@ -36,6 +36,10 @@ class HTMLCategory {
|
||||||
* Renders the category and all operations within it in HTML.
|
* Renders the category and all operations within it in HTML.
|
||||||
*
|
*
|
||||||
* @returns {string}
|
* @returns {string}
|
||||||
|
*
|
||||||
|
* @TODO: it will be better if this, and the other HTMLX.js, toHTML() functions
|
||||||
|
* created HTML elements rather than insert and change stringified html, but that
|
||||||
|
* would be part of a bigger refactoring adventure
|
||||||
*/
|
*/
|
||||||
toHtml() {
|
toHtml() {
|
||||||
const catName = "cat" + this.name.replace(/[\s/\-:_]/g, "");
|
const catName = "cat" + this.name.replace(/[\s/\-:_]/g, "");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue