ceramedia/CeraBox — pull request #17 by lorenzos (2012-11-14 08:54:50+00:00)
Title: New line support in title, and hide title when empty

I added new line support in captions. When the title attribute of the link contains *real* new line chars, i replace them with `
` in the HTML code of the caption ``. It's quite a clean fix (works only in the remote case you place newlines in titles!) and does not affect anyway normal behavior.

Plus, I make title caption to disappear completely when final title string is empty (it does not make sense to display an empty black bar).