This project is archived and is in readonly mode.
[PATCH] Fix Erubis non-escaping sequence to mimic raw()
-
Rodrigo Rosenfeld Rosas
Didn't take a look at the implementation, but +1 for the idea
-
Michael Koziarski
- Milestone set to 3.0.2
- Assigned user set to Michael Koziarski
- Importance changed from to Low
As I mentioned on the core list, upload a proper patch for making <%== behave exactly like <%= raw and I'll take a look
https://github.com/rails/rails/commit/209235165266ff39f2d14d02b497d...
That's a commit which did something similar
-
Fjan
- Title changed from Fix Erubis non-escaping sequence [patch] to [PATCH] Fix Erubis non-escaping sequence to mimic raw()
Ok, here's the patch. This is my first experience with git and with submitting a patch. I think I followed the procedures in the Rails guide correctly but please let me know if it's not correct.
-
Fjan
And here is a test to go with it.
-
Repository
(from [f04ec6a227b702342d2fb841f94915499bf6101a]) Added support for Erubis <%== tag
<%== x %> is syntactic sugar for <%= raw(x) %>
Signed-off-by: Michael Koziarski michael@koziarski.com
[#5918 status:committed] https://github.com/rails/rails/commit/f04ec6a227b702342d2fb841f9491... -
Repository
(from [ea1fde6ae750b78bfc58259fcdb7dd22ce0b3127]) Added support for Erubis <%== tag
<%== x %> is syntactic sugar for <%= raw(x) %>
Signed-off-by: Michael Koziarski michael@koziarski.com
[#5918 status:committed]Conflicts:
actionpack/test/controller/new_base/render_template_test.rbhttps://github.com/rails/rails/commit/ea1fde6ae750b78bfc58259fcdb7d...
-
Fjan
This on is already out in 3.0.3 and working fine, ticket can be closed.
-
Rohit Arondekar
- State changed from new to resolved
