You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[dev-v5] Add MarkupStringSanitized to enhances security and clarifies usage. (#4424)
* Make Title in FluentMessageBar plain text only
The Title property now accepts only plain strings and no HTML markup.
For custom or formatted titles, use the ChildContent property.
Updated code and docs to clarify usage and provide examples.
* Sanitize inline CSS to prevent XSS in custom styles
Introduce MarkupSanitizedOptions and MarkupStringSanitized to sanitize inline CSS styles
* Update MarkupStringSanitized
* Update MarkupStringSanitized
* Refactoring MarkupStringSanitized
* Refactoring
* Refactor
* Add Unit Tests
* Update components to use MarkupStringSanitized
* Update Dialog and Add unit tests
* Refactor
* Fix errors
* Update doc
* Refactor sanitizers to use [GeneratedRegex] partial methods
* Add Unit Tests
* Update doc
0 commit comments