OK, hands up, I'm not a particularly good writer of HTML, and I really should have looked up PHP switch syntax more thoroughly than the cursory moment I think I did, I think your criticisms are perfectly fair. A little shamefully, I shall revise prettify() to switch statements for the next...