Remove HTML whitespace from the template output

HTML published from Tridion is typically created using Tridion Dreamweaver Templates (DWTs).  These templates can involve a lot of ‘If’ statements to check that values exist or what their value is etc.  I like to put line breaks between each DWT statement so that its easier to read and work with, which usually looks something like this (actually it can get a lot crazier than this!):


Continue reading