I have the following entered in the node body
<a href="/sites/isaacsonwebdevelopment.com/files/Portfolio/FullPage/Thumbs/YAP.jpg" rel="lightbox[portfolio]" title="&lt;a href=&quot;http://blog.marceisaacson.com&quot;&gt;Y.A.P.W.I.S.E.&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;/YAP-details&quot;&gt;Project Details&lt;/a&gt;"><img src="/sites/isaacsonwebdevelopment.com/files/Portfolio/UpperPage/Thumbs/YAP.jpg" alt="Y.A.P.W.I.S.E. thumbnail" title="Y.A.P.W.I.S.E." style="width: 290px; height: 142px;" /></a>

In 6.x-1.9 it was interpreted correctly to create a line break at the &lt;br /&gt; between the two links in the title attribute. In 6.x-1.10 it does not generate the line break.

I have confirmed that this is a 6.x-1.10 error by reverting to 6.x-1.9. See the screen print for the error and the correct way once I revert.

Comments

vegantriathlete’s picture

StatusFileSize
new78.27 KB

Note: to simplify your testing of this, you probably don't need to attach two anchor tags. I think you will get the same error if you attach two pieces of text separated by the &lt;br /&gt;. I know that one of my images had some text followed by an anchor separated with the line break code and it had the same issue with the line break not rendering properly.

Here is the content of the node body:
<a href="/sites/isaacsonwebdevelopment.com/files/Portfolio/FullPage/Thumbs/HSSDDS.jpg" rel="lightbox[portfolio]" title="H. Scott Stewart, DDS - currently under construction&lt;br /&gt;&lt;a href=&quot;/HSSDDS-details&quot;&gt;Project Details&lt;/a&gt;"><img src="/sites/isaacsonwebdevelopment.com/files/Portfolio/UpperPage/Thumbs/HSSDDS.jpg" alt="H. Scott Stewart, DDS thumbnail" title="H. Scott Stewart, DDS" style="width: 290px; height: 138px;" /></a>

I have attached a screen print of it displaying properly.

stella’s picture

the filter_xss() function is stripping that tag out. The next release will allow you to configure a list of allowed tags.

stella’s picture

Status: Active » Fixed

In the next release (tomorrow), it will be possible to configure the list of allowed html tags at admin/settings/lightbox2.

Status: Fixed » Closed (fixed)

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