Skip to content

Add ins and del tags to HtmlSanitizer.js allowlist - #12887

Merged
offtherailz merged 1 commit into
geosolutions-it:masterfrom
nordiq-group:html-sanitizer-deletes-tags
Sep 15, 2026
Merged

offtherailz merged 1 commit into
geosolutions-it:masterfrom
nordiq-group:html-sanitizer-deletes-tags

Conversation

@oskarbh7

Copy link
Copy Markdown
Contributor

Description

web/client/utils/HtmlSanitizer.js's ALLOWED_TAGS is missing ins/del. This is a regression from 34cf880 .

Adds 'ins' and 'del' to ALLOWED_TAGS.

Please check if the PR fulfills these requirements

What kind of change does this PR introduce?

  • Bugfix

Issue

What is the current behavior?

<ins>/<del> are removed by sanitizeHtml/SafeHtml.

What is the new behavior?

<ins>/<del> are allowed and preserved.

Breaking change

  • No

@offtherailz
offtherailz enabled auto-merge (squash) September 15, 2026 10:22
@offtherailz
offtherailz merged commit 29941e4 into geosolutions-it:master Sep 15, 2026
12 checks passed
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.

3 participants