slimbox
slimbox copied to clipboard
Captions don't support newline
What steps will reproduce the problem?
1. Create a lightbox image (img + link wrapped around it) whose link has a
title tag with newlines (\n)
2. Click on the lightbox image
3. The lightbox caption will not display a new line a <br />
What is the expected output? What do you see instead?
When the title attribute spans multiple lines (has some \n in it) those
newlines should get replaced by <br /> tags in the slimbox output.
What version of the product are you using? On what operating system?
Linux / Firefox
Please provide any additional information below.
See attached patch
Original issue reported on code.google.com by [email protected] on 30 May 2014 at 5:42
Attachments: