diff --git a/src/web/HTMLCategory.mjs b/src/web/HTMLCategory.mjs index 77df0ed2..74f88a5e 100755 --- a/src/web/HTMLCategory.mjs +++ b/src/web/HTMLCategory.mjs @@ -36,6 +36,10 @@ class HTMLCategory { * Renders the category and all operations within it in HTML. * * @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() { const catName = "cat" + this.name.replace(/[\s/\-:_]/g, "");