updated titleHeading() to allow HTML titles