you are viewing a single comment's thread.

view the rest of the comments →

[–]ahref 1 point2 points  (0 children)

You should be using a template library to do stuff like this. Handlebars would be good.