Skip to content

docs(experiments): Add HTML content restrictions for web experiments#15001

Merged
sarahxsanders merged 1 commit intomasterfrom
docs-writer-ai-update-2026-02-12T21-34-38-679Z
Feb 12, 2026
Merged

docs(experiments): Add HTML content restrictions for web experiments#15001
sarahxsanders merged 1 commit intomasterfrom
docs-writer-ai-update-2026-02-12T21-34-38-679Z

Conversation

@inkeep
Copy link
Contributor

@inkeep inkeep bot commented Feb 12, 2026

Changes

This PR updates the no-code web experiments documentation to inform users about HTML content restrictions.

Background

PR #47791 changed how web experiments handle potentially malicious content in transform and html fields:

  • Previously: Input was silently sanitized (modified), which could produce unexpected results on client websites
  • Now: Input with disallowed tags/patterns throws a validation error with a clear message

Documentation Update

Added a callout box after step 6 (which explains the Text, CSS, and HTML fields) to inform users that the following content is not allowed:

  • <script> tags
  • <iframe> tags
  • <object> and <embed> tags
  • javascript: protocols
  • data:text/html content

This helps users understand why they might receive a validation error when saving their experiment and what content to avoid.

Files Changed

  • contents/docs/experiments/no-code-web-experiments.md - Added HTML content restrictions callout

…riments

Reflects PR #47791 which changed from silent sanitization to validation errors
for disallowed HTML tags and patterns in web experiment transforms.
@inkeep inkeep bot requested a review from a team February 12, 2026 21:35
@vercel
Copy link

vercel bot commented Feb 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
posthog Ready Ready Preview Feb 12, 2026 9:48pm

Request Review

@sarahxsanders sarahxsanders requested review from sarahxsanders and removed request for a team February 12, 2026 21:45
@sarahxsanders sarahxsanders merged commit 87270b9 into master Feb 12, 2026
16 checks passed
@sarahxsanders sarahxsanders deleted the docs-writer-ai-update-2026-02-12T21-34-38-679Z branch February 12, 2026 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant