That's very strange! I can reproduce here:
http://www.jsfiddle.net/j3nE3/
I'll look into it and see where the <br/>'s are being stripped out...
Thanks,
Kelvin :)
Thanks for the suggested solution. I looked into the problem in more
detail and realised that the simple solution is to wrap the contents of
the jScrollPane within another element (such as a <p> tag or even
another <div>.
http://www.jsfiddle.net/j3nE3/2/
Note that probably a set of styled <p>'s (or possibly a <ul> of <li>'s)
is probably a more semantically correct way of marking up your content
anyway.
Cheers,
Kelvin :)
Someone has also made a suggestion on the bug I issued on github for
this which might mean that I can make it work with your original markup.
Watch https://github.com/vitch/jScrollPane/issues/closed#issue/49 for
updates...
Cheers,
Kelvin :)