On Apr 11, 2007, at 4:44 AM, Tom V. wrote:
> Also: > special characters like < > & " get escaped when the textarea is > created. > As far as I know this is not a bug but a feature of html-textarea > to prevent the use of HTML markup. > > Is there a way to show those special characters properly - meaning > unescaped - > inside the textarea? You need to escape the code you send to the browser to display in any form field. It is the browser's responsibility to display it to you on screen as the characters represented by the escape sequence. And when it is submitted back to your server by the form, it will also be in the form of the actual characters, not the escape sequence. Walter --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
