If the title 2 tasks is also in the template, I think you should avoid leaving a line with templater code that does not write anything, and therefore put the last line at the end of the line above And otherwise, be careful to never put a newline or empty line at the end of your template, otherwise it will insert them too
My God! I just realized, that I was unknowingly using the whitespace control, but not to my favor, haha. Sorry, somehow I didn’t make it to the synonym “whitespace”, that post made everything clear. Thank you!
Yeah, the title 2 was coming directly after it. Adding the commands to the line above worked, but actually I just had to use whitespace control and put an underscore to the brackets of those non-inserting lines:
<% (…) _%>
<% (…) _%>