Skip to content

html_escape needed, at least with Redmine 2.2#1

Open
dra wants to merge 1 commit into0xBF:masterfrom
dra:c38455a8e36b1da5657a2bd82da32d4d18830d80
Open

html_escape needed, at least with Redmine 2.2#1
dra wants to merge 1 commit into0xBF:masterfrom
dra:c38455a8e36b1da5657a2bd82da32d4d18830d80

Conversation

@dra
Copy link

@dra dra commented Jan 28, 2013

Hi.
I just ran your plugin with a clean Redmine 2.2.0 install, but it was not working out of the box: The script and style tags where escaped and because of that not working.
So I simply split the content_for array into two calls, giving each call the tag with .html_safe. That way the plugins worked like a charm. Perhaps not the most elegant way ... ;)

Some more information about my environment:
Ubuntu 12.10
Ruby 1.8.7
Rails 3.2.9
Redmine 2.2.0

Kind regards,
Daniel

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant