mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 02:00:10 +02:00
Merge pull request #14221 from overleaf/mj-regex-fix
[cm6] Remove negative lookbehind in regex GitOrigin-RevId: 30c19680b1e20011945a7185a966100dc5e25d13
This commit is contained in:
committed by
Copybot
parent
cdfc80359f
commit
957c5b7eba
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user