Skip to content

test(widget-markdown): pin sanitize_preview unset default (DCMS-471) - #611

Merged
sempostma merged 1 commit into
mainfrom
docs/dcms-494-markdown-sanitize-preview-default
Jul 14, 2026
Merged

test(widget-markdown): pin sanitize_preview unset default (DCMS-471)#611
sempostma merged 1 commit into
mainfrom
docs/dcms-494-markdown-sanitize-preview-default

Conversation

@sempostma

Copy link
Copy Markdown
Member

Closes #494

…d (DCMS-471)

sanitize_preview defaults to true (sanitized) when unset via
field?.get('sanitize_preview') ?? true. Only explicit true/false
cases were covered; add a pinning test for the unset default so a
future regression is caught in CI, not just in docs.

Closes #494
@sempostma
sempostma merged commit 91be98b into main Jul 14, 2026
2 checks passed
@sempostma
sempostma deleted the docs/dcms-494-markdown-sanitize-preview-default branch July 14, 2026 08:08
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.

docs(widget-markdown): sanitize_preview default is inverted vs docs — DCMS-471

1 participant