Fixed skipping empty lines in tooltip formatting.