Product Description contains HTML elements
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- When searching products, the product description contains HTML elements.
- Steps to Reproduce:
1. Create a site using the Minium accelerator.
2. Navigate to Commerce > Product Management > Products
3. Open Brake Fluid and click Publish
4. From the Catalog page, type "brake" using the search bar in the upper left, but do not hit enter(in order to display suggestions)
5. Click "Search brake in All Content" in the suggestions list
Expected Results: The description of Brake Fluid should not contain any HTML elements.
Actual Results: The description of Brake Fluid is wrapped in a HTML <p> tag
Resolution
- This is unexpected behavior that can be resolved with these options:
- Upgrade to 2024.Q2.0 or
- Open a Help Center ticket and request a hotfix containing LPD-26359
Did this article resolve your issue ?