Switch from creating HTML elements to string interpolation
Closed this issue · 1 comments
Flarp commented
While creating HTML elements and setting text content is slightly safer, it's verbose and bloats the code. My idea is to use template strings and escape-html to make sure no malicious code is executed client side.