Allow to have new line charachter in rel description like

<a href="[path to image]" rel="lightbox[inline_image][;Title and some [newline] description]" class="lightbox-processed"><img typeof="foaf:Image" src="http://url to full image" width="220" height="142" alt="alt text" title="title text"></a>
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ygerasimov’s picture

Status: Active » Needs work
FileSize
595 bytes

The problem is in Lightbox.parseRel(). Needed to change regex a bit. See attached patch.

ygerasimov’s picture

Status: Needs work » Needs review
pifagor’s picture

Issue summary: View changes

Look good

pifagor’s picture

Status: Needs review » Reviewed & tested by the community
alex_optim’s picture

+1

  • voleger committed 021b098 on 7.x-2.x authored by ygerasimov
    Issue #2090701 by ygerasimov, pifagor, alex_optim, voleger: Allow...
voleger’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev

Thanks, pushed to 7.x-2.x-dev

voleger’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.