cbeyls / slimbox

The ultimate lightweight Lightbox clone
http://www.digitalia.be/software/slimbox2
50 stars 24 forks source link

Captions don't support newline #43

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 bkraf...@gmail.com on 30 May 2014 at 5:42

Attachments: