HTML tags are visible using dynamic values to load WooCommerce Short Description field into Paragraph block

Description:

When using the dynamic values feature to load the Short Description WooCommerce field, it shows the HTML tags rather than formatting with them.

Step-by-step reproduction instructions:

  1. Add a Product in WooCommerce
  2. Add a Short Description containing formatting (e.g. bold, italic, etc)
  3. Create a Template with a Query that shows this Product
  4. Add a Paragraph block into the Query template
  5. Dynamically load the Short Description into it using the Dynamic values
  6. Notice the tags are shown.

Screenshots, screen recording, code snippet

Environment info

  • WordPress version: 6.3.1
  • Cwicly Plugin version: 1.2.9.9.5

Hi @StrangeTech,

Thank you for bringing this to our attention!

I can confirm that HTML tags are visible on the backend, when the dynamic Woo Short Description is placed within a Query block.

Rest assured, this will be fixed as soon as possible.

Apologies for the inconvenience.

Thank you @Araminta, much appreciated.

Hi @Araminta,

As a follow up, we have observed that the contents of the field are wrapped in a p tag, meaning if you dynamically insert this into a Paragraph block, it creates empty p tags before and after the content. Changing the Paragraph block’s html tag to div works as a temporary workaround for now.

Hello @StrangeTech,

This is an expected behaviour, and the recommend workaround.

Cheers,

OK, thanks for letting us know @Louis.

Hi,

We have fixed this issue in 1.3.0.2.

Please let us know if you are still experiencing issues once updated.

Best regards,
Johnny

Confirmed fixed in 1.3.0.2. Thank you Cwicly Team!

1 Like