colon breaks caption

kardave - February 12, 2009 - 09:31
Project:Image Caption
Version:5.x-2.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

I like this module, thanks your effort.
I have a little notice. If I use colon in the caption (title), caption shows only the text after the colon.
Ex:<img src="..." title="Obama: I screwed up"/>
Caption shows only "I screwed up"

#1

scott859 - February 20, 2009 - 21:27

Greetings,

Just a FYI, not a solution, I am using the 6.x version and do not have this issue with the colon, although I have experienced it using various other characters.

Regarding some of those characters that "break" the caption, it is necessary to use their HTML equivalent. For example if you want to use quotes in your caption:

"text inside quotes here"

the above needs to be set up as this:

&quot;text inside quotes here&quot;

This will produce the caption: "text inside quotes here"

Scott

 
 

Drupal is a registered trademark of Dries Buytaert.