-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
MudHighlighter: Fix Highlighted Markup Render Bug #11543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #11543 +/- ##
==========================================
+ Coverage 91.17% 91.18% +0.01%
==========================================
Files 466 466
Lines 14499 14652 +153
Branches 2815 2847 +32
==========================================
+ Hits 13220 13361 +141
- Misses 642 646 +4
- Partials 637 645 +8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- fix highlight bug (include new test)
…lazor into 10247-MudHighlighter
|



Description
When
Markupis enabled, if the highlight text is found within an html markup element, the markup rendering breaks and reverts to raw html. This fix excludes html tags from the highlighting process so as to avoid incorrectly inserting the<mark>tag into valid html elements.Resolves: #10247
Resolves: #8196
How Has This Been Tested?
Visually and unit tests
Type of Changes
Checklist
dev).