-
-
Couldn't load subscription status.
- Fork 1.3k
Fix HumanizeHrefTags not working when see tag spans over multiple lines #3435
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
Fix HumanizeHrefTags not working when see tag spans over multiple lines #3435
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3435 +/- ##
=======================================
Coverage 93.55% 93.55%
=======================================
Files 110 110
Lines 3834 3834
Branches 719 719
=======================================
Hits 3587 3587
Misses 247 247
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Thanks! |
Pull Request
The issue or feature being addressed
Fixes #3419
Details on the issue fix or feature implementation
Updated pattern
\s+href=to account for optional whitespace (e.g., <see href=)non-greedy
.*?and\s*trims leading/trailing whitespace (e.g., newlines)RegexOptions.Singlelineto allow.to match line breaks.