Render HTML in publish modal custom text - #1036
Conversation
|
Merged current |
|
The fresh GitHub Actions runs for exact head |
# Conflicts: # CHANGELOG.md
|
Merged current |
|
The fresh GitHub Actions runs for exact head |
# Conflicts: # CHANGELOG.md
What this PR does / why we need it:
Configured Publish Dataset modal text is now rendered as HTML, matching the configuration intent. The markup is sanitized with DOMPurify before parsing, and component coverage verifies links and line breaks.
Which issue(s) this PR closes:
Special notes for your reviewer:
The sanitization step prevents configured markup from injecting unsafe content. Chromatic and label-copy checks cannot access fork secrets/permissions; those fork-only failures are expected.
Suggestions on how to test this:
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
Yes. Configured modal markup now renders as intended; no mockup is required.
Is there a release notes or changelog update needed for this change?:
No separate release note is included.
Additional documentation:
No additional documentation is required.
Verification: focused component tests (14 passing), lint (four pre-existing unrelated warnings), production build, and diff check.