Escape template inserts