support for <%% and %%> to trim lines