Profile organization tag with special characters not displayed correctly in profile stream

Created on 12 June 2023, about 1 year ago
Updated 22 June 2023, about 1 year ago

Problem/Motivation

Profile organization tag with special characters not displayed correctly in profile stream because string is escaped twice.

Steps to reproduce

- Clean installation of Open Social
- Enable social_profile_organization_tag module
- Go to /admin/structure/taxonomy/manage/profile_organization_tag/overview and create new tag "A&B's"
- Go to /user/1/profile and add newly created tag to the "Organization tag" field
- Create a topic: /node/add/topic and comment on it (/node/1)
- Go to profile stream /user/1/stream and you will see double-escaped string "admin from A&B's commented on admin's topic" instead of "admin from A&B's commented on admin's topic"

Proposed resolution

Remove double-escaping.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Fixed

Version

11.9

Component

Code (back-end)

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024