Extended tooltip function to allow for double lines.