sanitize string before used in regex to prevent crash (#2219)
authorAjay Bura <32841439+ajbura@users.noreply.github.com>
Thu, 20 Feb 2025 07:30:54 +0000 (18:30 +1100)
committerGitHub <noreply@github.com>
Thu, 20 Feb 2025 07:30:54 +0000 (18:30 +1100)
commit9fe67da98ba7dbc389a30c4b82df2e05925448b3
tree8e5103eb0f3a58b5b6f82fb9e51be30d02b67c83
parentd8d4bce287445e92ebab184aa5f9ae348bf34972
sanitize string before used in regex to prevent crash (#2219)
src/app/components/editor/output.ts
src/app/hooks/useAsyncSearch.ts
src/app/plugins/react-custom-html-parser.tsx
src/app/utils/regex.ts