This project is archived and is in readonly mode.

#4768 ✓resolved
Martin Gamsjaeger (snusnu)

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

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

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 #4728 and #4762 because I wanted to dig through possibly related issues initially.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages