escape some template specs