Haha, it's fine really. I can't say its super pleasant to work with, but code wrangling is my day job, so I'm used to dealing with stuff like that. Maybe one day I'll just write a template generator. edit; I also found a single unicode character (this magical thing -> " ", a non-breaking whitespace) that will cut down on the code messiness alot.