Skip to content

Commit 0aab3bd

Browse files
committed
[gchq#181] add a note for later refactoring
1 parent 3a10e4a commit 0aab3bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/web/HTMLCategory.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ class HTMLCategory {
3636
* Renders the category and all operations within it in HTML.
3737
*
3838
* @returns {string}
39+
*
40+
* @TODO: it will be better if this, and the other HTMLX.js, toHTML() functions
41+
* created HTML elements rather than insert and change stringified html, but that
42+
* would be part of a bigger refactoring adventure
3943
*/
4044
toHtml() {
4145
const catName = "cat" + this.name.replace(/[\s/\-:_]/g, "");

0 commit comments

Comments
 (0)