mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Restore escaped standalone ampersands in translations (#15373)
GitOrigin-RevId: 8f505ea4906d9adfddfd72b7609c0c3e465f6b56
This commit is contained in:
@@ -38,6 +38,8 @@ function sanitize(input) {
|
||||
})
|
||||
// Restore the escaping again.
|
||||
.replaceAll(/<([/]?[0-9])>/g, '<$1>')
|
||||
// Restore escaped standalone ampersands
|
||||
.replaceAll(/ & /g, ' & ')
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user