Home › Forums › WoodMart support forum › Product Grid (Gutenberg) – Short descrip strips HTML tags and ignores new lines

Product Grid (Gutenberg) – Short descrip strips HTML tags and ignores new lines

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #714144

    michalkulej84
    Participant

    Hi Support Team,

    I am using the WoodMart Layout Builder (Gutenberg) to design my product grid. I have a major issue with the Product Short Description widget.

    It strips all HTML tags (like <br>, <div>, <span>).

    It ignores standard new lines (\n) created by the Enter key in the product editor.

    It renders everything as a single, flat line of text, which breaks the layout and readability.

    Even using white-space: pre-line; in CSS or custom PHP filters on woodmart_short_description_callback does not work in the Gutenberg Grid layout.

    How can I enable HTML support for the short description in the Product Grid specifically? Or is there a hook I can use to stop the theme from stripping tags in this specific widget?

    Looking forward to your help.

    #714191

    Artem Temos
    Participant

    Hello,

    You can fix it by applying patch # 714176. To do this, go to Dashboard -> WoodMart -> Patcher, find the corresponding patch and click on the “Apply” button. Let us know if it works for you.

    Kind Regards

Viewing 2 posts - 1 through 2 (of 2 total)