Fixed Rails 3.0.9 gsub html_safety bug #2

Merged
merged 1 commit into from Aug 9, 2011

Projects

None yet

2 participants

@dv
Contributor
dv commented Aug 9, 2011

In the latest versions of Rails, gsub no longer keeps the "html_safe" property. This resulted in Post#rendered_body to show HTML tags to the end-user. Fixed this by changing the order of methods.

@citrus citrus merged commit 6959411 into citrus:master Aug 9, 2011
@citrus
Owner
citrus commented Aug 9, 2011

Awesome, thanks David!

@dv
Contributor
dv commented Aug 9, 2011

No problem, glad I could help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment