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

Removed unnecessary escaping from assigned server role treenodes #1138

Merged
merged 1 commit into from
Apr 24, 2017

Conversation

skateman
Copy link
Member

@skateman skateman commented Apr 24, 2017

There is a content_tag around the escaped strings, therefore, it's obsolete to call html_escape as it has its own escaping mechanism. This also fixes the escaped &amp in the linked BZ.

Before:
screenshot from 2017-04-24 16-40-51

After:
screenshot from 2017-04-24 16-40-11

https://bugzilla.redhat.com/show_bug.cgi?id=1444794

There is a content_tag around the escaped strings, therefore, it's
obsolete to call html_escape as it has its own escaping mechanism.
This also fixes the escaped &amp in the linked BZ.

https://bugzilla.redhat.com/show_bug.cgi?id=1444794
@miq-bot
Copy link
Member

miq-bot commented Apr 24, 2017

Checked commit skateman@5f20605 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks good. 👍

@himdel himdel self-assigned this Apr 24, 2017
@himdel
Copy link
Contributor

himdel commented Apr 24, 2017

LGTM, makes sense :)

@himdel himdel merged commit 5a71aee into ManageIQ:master Apr 24, 2017
@himdel himdel added this to the Sprint 59 Ending Apr 24, 2017 milestone Apr 24, 2017
simaishi pushed a commit that referenced this pull request Apr 24, 2017
Removed unnecessary escaping from assigned server role treenodes
(cherry picked from commit 5a71aee)
@simaishi
Copy link
Contributor

Fine backport details:

$ git log -1
commit e3bc3fb5b59a6871ca4d0eb8b878c89dd862707f
Author: Martin Hradil <himdel@seznam.cz>
Date:   Mon Apr 24 15:17:54 2017 +0000

    Merge pull request #1138 from skateman/asr-remove-escaping
    
    Removed unnecessary escaping from assigned server role treenodes
    (cherry picked from commit 5a71aee37a1e4573eef700b340fe8af9806778e3)

@skateman skateman deleted the asr-remove-escaping branch August 21, 2017 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants