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

User extended properties - fix rendering value #15389

Merged
merged 1 commit into from Feb 26, 2021

Conversation

theboxer
Copy link
Member

What does it do?

Add renderItemText to the MODx.orm.Tree that is returning encoded value. No encoding is needed in the method as it's already encoded before setting the text property on the node.

Why is it needed?

<i></i> tags are visible around the value.

How to test

Add new extended field to the user. The value should show in italic.

Related issue(s)/PR(s)

#15356

@cla-bot cla-bot bot added the cla-signed CLA confirmed for contributors to this PR. label Feb 11, 2021
@Ibochkarev Ibochkarev added the pr/review-needed Pull request requires review and testing. label Feb 11, 2021
@Ibochkarev Ibochkarev added this to the v3.0.0-alpha3 milestone Feb 11, 2021
@theboxer theboxer linked an issue Feb 11, 2021 that may be closed by this pull request
Copy link
Collaborator

@Ruslan-Aleev Ruslan-Aleev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, it works!

uf

@opengeek opengeek changed the title [3.x] User extended properties - fix rendering value User extended properties - fix rendering value Feb 23, 2021
Copy link
Collaborator

@Ibochkarev Ibochkarev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it works!

2021-02-24.03.23.20.mov

@Ibochkarev Ibochkarev added pr/ready-for-merging Pull request reviewed and tested and ready for merging. and removed pr/review-needed Pull request requires review and testing. labels Feb 23, 2021
@opengeek opengeek merged commit c280d9e into modxcms:3.x Feb 26, 2021
@opengeek opengeek removed the pr/ready-for-merging Pull request reviewed and tested and ready for merging. label Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed CLA confirmed for contributors to this PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In extended user fields, the <i> tag is added in the attribute tree
4 participants