handle special xml characters in chart titles correctly