Fixed issue with Safari crashing when displaying tooltips with nested HTML tags. Closes #1596.