Skip to content

Commit

Permalink
[gchq#181] add a note for later refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
valdelaseras committed May 23, 2023
1 parent 3a10e4a commit 0aab3bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/web/HTMLCategory.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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, "");
Expand Down

0 comments on commit 0aab3bd

Please sign in to comment.