Forum

Thread tagged as: Question

Textarea Images

Hi,

Any ideas why when inserting an image within a textarea it splits the code over two lines like so:

!(item--img)
/perch/resources/Post_Images/image.png(Test)! 

meaning i have to then place it back on one line and remove spacing for it to generate output that display the image.

cheers Dan

Steve Forbes

Steve Forbes 0 points

  • 7 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Which editor? Is that MarkItUp with Textile?

MarkItUp

its not a big problem just wondered

Drew McLellan

Drew McLellan 2638 points
Perch Support

Which browser are you using?

Is it definitely a line break and not just line-wrap?

chrome, view source on the output shows this:

<p>!(item&#8212;img)<br />
/perch/resources/Post_Images/digital.png(test)! </p>
Drew McLellan

Drew McLellan 2638 points
Perch Support

Are you HTML encoding it?

If you mean html="true" them no.

Drew McLellan

Drew McLellan 2638 points
Perch Support

It's so long ago I'm not sure if that's what I meant.

Does this problem still persist?