For multi-line inline edits I have had the same issue before and found
that having a <pre> tag around it worked

On Aug 21, 11:30 am, junkmate <[EMAIL PROTECTED]> wrote:
> I have an issue with line break handling.
>
> When I display contents of a textarea, I use nl2br to show linebreaks
> that the user has made. The problem comes the second time they make an
> edit, since the <br> code still appears in the inPlaceEdit box...
> which will no doubt confuse my users...
>
> Any way around this?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to