Skip to content

Block themes strip HTML tags from Woo Product short description #92984

Closed

Description

Quick summary

When using HTML tags in the Product short description on an Atomic site using a Block theme, the HTML tags are stripped out and ignored, leaving the text as a single, plain text paragraph. The text displays properly when using a Classic theme.

Steps to reproduce

  1. Atomic site on the Business/Creator plan
  2. Activate a Block theme
  3. WooCommerce installed with a product added
  4. In the Product short description field, switch it to the Text mode and add HTML tags
    mL2trCNOxn8IGpUBzrjYDqnjOdlzp8dBo6F4x0YN.jpg

Sample to use:

Testing HTML Tags<br><br>

This part should be on a line of it's own with a line break above and below it.<br><br>

All tags are ignored in Block themes <strong>this should be bold</strong> or <a href="https://wordpress.com"><strong>This should be a bold link</strong></a>.

What you expected to happen

uBK4iJq3qnEcDs0BoYKolcRM4HsCEtvwH9606QQn.jpg

What actually happened

CbINgFuDibNRyiGIIKxOGfrw6KlV2JUreVBhy31v.jpg

Impact

Some (< 50%)

Available workarounds?

No but the platform is still usable

Platform (Simple and/or Atomic)

Atomic

Logs or notes

Technically the platform is still "usable" but the product short description doesn't display the way it should.

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

Metadata

Assignees

No one assigned

    Type

    No type

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions