Added autoindent filter/function to templating