Escape template line substitution