No. It's not sufficient for the above example.
You can repeat this example using String#inspect and you will get
javascript error.

On Mar 1, 4:03 pm, Christophe Porteneuve <[EMAIL PROTECTED]> wrote:
> Hey there,
>
> [EMAIL PROTECTED] a écrit :
>
> > I see "String.inspect" don't escape quotes into unicode.
> > This behaviour needs for the following example:
>
> Actually, escaping quotes the usual way (with a backslash) will be
> sufficient for your need, and this is what this String#inspect does.
>
> --
> Christophe Porteneuve aka TDD
> [EMAIL PROTECTED]


--~--~---------~--~----~------------~-------~--~----~
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