Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent panels from escaping HTML safe titles #2403

Merged

Conversation

zorab47
Copy link
Contributor

@zorab47 zorab47 commented Aug 10, 2013

Panels concatinate a non-html_safe, empty string with the title provided. The
resulting new string is always considered unsafe and prevents titles with
HTML from being rendered. This fixes the issue by starting with a html_safe
empty string.

Panels concatinate a non-html_safe, empty string with the title provided. The
resulting new string is always considered unsafe and prevents titles with
HTML from being rendered. This fixes the issue by starting with a html_safe
empty string.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0%) when pulling e686347 on zorab47:allow-panel-titles-marked-html-safe into 02ff162 on gregbell:master.

@seanlinsley
Copy link
Contributor

💙

seanlinsley added a commit that referenced this pull request Aug 10, 2013
…safe

Prevent panels from escaping HTML safe titles
@seanlinsley seanlinsley merged commit 080fef4 into activeadmin:master Aug 10, 2013
@zorab47 zorab47 deleted the allow-panel-titles-marked-html-safe branch August 11, 2013 15:10
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.

3 participants