-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(MarkdownUtil): add sanitizeMarkdown function [WPB-10991] (#18581)
* feat(MarkdownUtil): add sanitizeMarkdown function * test(MarkdownUtil): enhance header detection and sanitization tests * refactor(MarkdownUtil): consolidate code block patterns and improve inline code detection * refactor(MarkdownUtil): enhance table pattern regex and improve link/image transformation logic * refactor(MarkdownUtil): enhance table pattern regex to allow variable column lengths * refactor(MarkdownUtil): reorganize and enhance markdown pattern definitions for improved detection and sanitization * refactor(MarkdownUtil): rename list and table pattern constants for clarity and consistency
- Loading branch information
1 parent
9ce008c
commit 124d517
Showing
2 changed files
with
251 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters