Document title string sanitation