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

Fix #274 - Fix Views HTML Entities Which Encode UTF Characters Incorrectly #403 #501

Open
wants to merge 2 commits into
base: hotfix
Choose a base branch
from

Conversation

yunusyerli1
Copy link
Contributor

Description

See the issue #274 for more details about the issue.

This is the second commit of #403.

Motivation and Context

How To Test This

  1. Change the name of something that is referenced.
    a. For example, change the company name that is referenced in a Call. (Like adding åäö or other letters)
  2. Got the the list of that data and you should see the HTML encoded letters

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Final checklist

  • My code follows the code style of this project found here.
  • My change requires a change to the documentation.
  • I have read the How to Contribute guidelines.

@@ -322,6 +322,10 @@ public function fetch(
$listData[$key]['assigned_user_name']['user_name'] = $user->user_name ?? '';
$listData[$key]['assigned_user_name']['user_id'] = $record['assigned_user_id'];
$listData[$key]['module_name'] = $panelToModuleName[$listData[$key]['panel_name']];
$listData[$key]['descrition'] = html_entity_decode($listData[$key]['descrition'] ?? '', ENT_QUOTES);
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this really descrition instead of description?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Typo has been fixed.

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.

3 participants