did you consider using tripple-qouted strings for your multi-line templates?