Consistent formatting for title attribute