Skip to content

Fix - Removed html tags from product set description.#3230

Closed
mshymon wants to merge 1 commit intofacebook:mainfrom
mshymon:product_set_remove_tags_from_description
Closed

Fix - Removed html tags from product set description.#3230
mshymon wants to merge 1 commit intofacebook:mainfrom
mshymon:product_set_remove_tags_from_description

Conversation

@mshymon
Copy link
Contributor

@mshymon mshymon commented May 22, 2025

Description

Problem. The raw WC category description contains html tag (e.g.

). This gest synced to Meta and the string is not expected to contain the tags.
Fix. Remove the tags from the raw description before it is synchronised to Meta.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Changelog entry

  • Fix - Removed html tags from product set description.

Test Plan

./vendor/bin/phpunit --filter ProductSetSyncTest

@facebook-github-bot
Copy link
Contributor

@mshymon has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@mshymon merged this pull request in aa924c8.

vahidkay-meta pushed a commit that referenced this pull request May 28, 2025
Summary:

Problem. The raw WC category description contains html tag (e.g. <p>). This gest synced to Meta and the string is not expected to contain the tags.
Fix. Remove the tags from the raw description before it is synchronised to Meta.

- Bug fix (non-breaking change which fixes an issue)

- Fix - Removed html tags from product set description.

Pull Request resolved: #3230

Test Plan: `./vendor/bin/phpunit --filter ProductSetSyncTest`

Reviewed By: nrostrow-meta, carterbuce

Differential Revision: D75236740

Pulled By: mshymon

fbshipit-source-id: 73a06bf35414d2a872b6d88ce6429bc0cc31b1bc
@vahidkay-meta vahidkay-meta mentioned this pull request May 28, 2025
@tzahgr tzahgr mentioned this pull request Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants