Skip to content

Render order messages as plain text on order detail - #1120

Open
tblivet wants to merge 1 commit into
PrestaShop:2.1.xfrom
tblivet:fix/order-message
Open

tblivet wants to merge 1 commit into
PrestaShop:2.1.xfrom
tblivet:fix/order-message

Conversation

@tblivet

@tblivet tblivet commented Oct 2, 2026

Copy link
Copy Markdown
Contributor
Questions Answers
Description? Render order messages as plain text on order detail
Type? bug fix
BC breaks? no
Deprecations? no
Fixed ticket? --
Sponsor company @PrestaShopCorp
How to test? 1. Log in as a customer, open an order in Order history.
2. In "Add a message", send <h1>Title</h1> <b>bold</b>, then a few more lines of text.
3. The message shows as plain text ("Title bold"), no heading or bold, and the line breaks are kept.

@tblivet tblivet added this to the v2.1.3 milestone Oct 2, 2026
@github-project-automation github-project-automation Bot moved this to Ready for review in PR Dashboard Oct 2, 2026

@nicohery nicohery left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Tested on 9.2.x from the order detail page. Before: <h1>Title</h1> <b>bold</b> showed as a heading and bold text, and line breaks were lost, also in a multi-line employee message. After: plain text with the line breaks kept. Messages like
"Thanks <3" or "price < 10 or > 5?" still read fine.

@ps-jarvis ps-jarvis added the Waiting for QA Status: Action required, Waiting for test feedback label Oct 10, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Waiting for QA Status: Action required, Waiting for test feedback

Projects

Status: To be tested

Development

Successfully merging this pull request may close these issues.

4 participants