legacy-knowledge-base
公開されました Jun. 30, 2025

Product Description contains HTML elements

written-by

Tony Ng

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

learn-legacy-article-disclaimer-text

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

Environment

  • 2023.Q4

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

legacy-knowledge-base