tooltip : issue #1780, prevent rendering if text is whitespace

tooltip : issue #1780, prevent rendering if text is whitespace