Skip to content

[SNAPWOO-71] Strip HTML from product description for the CSV export.#58

Open
jamesmorrison wants to merge 1 commit intotrunkfrom
feature/SNAPWOO-71-product-descriptions-containing-images-perhaps-any-rich-text-cannot-be-imported
Open

[SNAPWOO-71] Strip HTML from product description for the CSV export.#58
jamesmorrison wants to merge 1 commit intotrunkfrom
feature/SNAPWOO-71-product-descriptions-containing-images-perhaps-any-rich-text-cannot-be-imported

Conversation

@jamesmorrison
Copy link
Collaborator

Changes proposed in this Pull Request:

PR make changes to strip HTML tags from the product description to avoid errors during product import on Reddit.

Closes https://linear.app/a8c/issue/SNAPWOO-71/product-descriptions-containing-images-perhaps-any-rich-text-cannot-be

Steps to test the changes in this Pull Request:

  1. Create products with HTML in the description (add images, list items, etc.).
  2. Complete the plugin onboarding process and verify that all products are imported successfully on the Snapchat side without any issues - any HTML should be stripped out.

Changelog entry

Fix - Strip HTML tags from the product description for the CSV export.

@github-actions github-actions bot added the status: e2e tests passing E2E tests are passing on the PR label Feb 25, 2026
@ankitguptaindia
Copy link
Collaborator

QA Status: Approved ✅

Test Result: Text with HTML is converting to plain text, and products are imported successfully without any errors.


Text in Product Description -

Screenshot 2026-03-24 at 6 39 51 PM

Before applying fixes

Screenshot 2026-03-24 at 6 11 28 PM

After applying fixes

Screenshot 2026-03-24 at 6 37 21 PM

@ankitguptaindia ankitguptaindia self-requested a review March 24, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: e2e tests passing E2E tests are passing on the PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants