mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-23 04:01:18 +00:00
Merge pull request #14221 from overleaf/mj-regex-fix
[cm6] Remove negative lookbehind in regex GitOrigin-RevId: 30c19680b1e20011945a7185a966100dc5e25d13
This commit is contained in:
parent
6a9c9652f9
commit
48ee8779f0
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ export const Cell: FC<{
|
|||
|
||||
const filterInput = (input: string) => {
|
||||
// TODO: Are there situations where we don't want to filter the input?
|
||||
return input.replaceAll(/(?<!\\)&/g, '\\&').replaceAll('\\\\', '')
|
||||
return input.replaceAll('\\\\', '')
|
||||
}
|
||||
|
||||
const isFocused =
|
||||
|
|
Loading…
Reference in a new issue