strip leading/trailing whitespace from named templates, as it can cause issues with sortable
update to 0.9.0