Adjusts the ERB template to not include extra lines or spaces