How can line breaks be added within a HTML tooltip?
I tried using and \\n within the tooltip as follows:
\\n
Using .html() instead of .text() worked for me. For example
.html("This is a first line." + "" + "This is a second line.")