[#181] add a note for later refactoring

This commit is contained in:
Robin Scholtes 2023-05-23 20:08:20 +12:00
parent 3a10e4a4fb
commit 0aab3bdf5a

View file

@ -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, "");