Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

[PATCH] Makes #content_tag_as_string respect the "escape" parameter on content

#4768

Hey, I noticed that currently the escape parameter gets completely ignored for the actual content given to #content_tag_as_string. This basically means that I couldn't find out how to not escape the content given to #content_tag as a String. So I patched it.

http://github.com/snusnu/rails/commit/7f1b5bc6452cd1ca65dae3283c4af...

I also commented with a link to this patch on #3559 Problem with XSS escape in select_* (eg: select_month) helpers #4728 Form Helper Escaping Problem and #4762 url_for :escape parameter is ignored because I wanted to dig through possibly related issues initially.

Reported by Martin Gamsjaeger (snusnu) · June 4th, 2010 @ 06:22 PM

State: resolved
Milestone: none
Assigned to: nobody
Importance: Medium