On Wed, Jun 08, 2011 at 05:25:08PM -0700, Tony Perrie wrote:
> If you’re using js views and partial html replacements, Rails 3.0.8
> was totally broken. Right after the 3.0.8 release, 3.0.9rc1 was
> released which partially addresses the problem. But, after upgrading,
> you have to wrap every escape_javascript call with raw() if you want
> your javascript to replace HTML. This was absolutely _not_ the case
> with 3.0.7.
> 
> So, escape_javascript('<img src="lolcat.jpg" />') becomes
> raw(escape_javascript('<img src="lolcat.jpg" />')).

Sorry about the breakage.  We'll fix the problem and release another
release candidate.

-- 
Aaron Patterson
http://tenderlovemaking.com/

Attachment: pgpurtodvTxQ7.pgp
Description: PGP signature

Reply via email to