Skip to content

[6.x] Avoid sanitizing target attribute in markdown() helper#14221

Merged
jasonvarga merged 1 commit into6.xfrom
markdown-target-sanitization
Mar 11, 2026
Merged

[6.x] Avoid sanitizing target attribute in markdown() helper#14221
jasonvarga merged 1 commit into6.xfrom
markdown-target-sanitization

Conversation

@duncanmcclean
Copy link
Member

This pull request avoids the target attribute being sanitised in the markdown() helper - fixing an issue where links in field instructions weren't opening in a new tab as expected.

Fixes #14115

@jasonvarga jasonvarga merged commit 5dd6314 into 6.x Mar 11, 2026
18 checks passed
@jasonvarga jasonvarga deleted the markdown-target-sanitization branch March 11, 2026 16:05
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.

Field instructions are sanitised, erasing code

2 participants