-
-
Notifications
You must be signed in to change notification settings - Fork 671
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
Pro Docs #3469
base: main
Are you sure you want to change the base?
Pro Docs #3469
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: 29dee89 The changes in this PR will be included in the next version bump. This PR includes changesets to release 7 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
|
||
export const deserializeInlineMd = (editor: PlateEditor, text: string) => { | ||
const leadingSpaces = /^\s*/.exec(text)?.[0] || ''; | ||
const trailingSpaces = /\s*$/.exec(text)?.[0] || ''; |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
|
||
export const stripMarkdownInline = (text: string) => { | ||
// Remove emphasis (bold, italic) | ||
text = text.replaceAll(/(\*\*|__)(.*?)\1/g, '$2'); |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
Checklist
yarn typecheck
yarn lint:fix
yarn test
yarn brl
yarn changeset