mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 02:00:10 +02:00
Merge pull request #10244 from overleaf/ii-jump-to-error
[web] Jump to error on files with double slash GitOrigin-RevId: eec2ac6ba7a34d32f757f5e3a088e92d0d494422
This commit is contained in:
@@ -167,6 +167,7 @@ function buildURL(file, pdfDownloadDomain) {
|
||||
}
|
||||
|
||||
function normalizeFilePath(path, rootDocDirname) {
|
||||
path = path.replace(/\/\//g, '/')
|
||||
path = path.replace(
|
||||
/^.*\/compiles\/[0-9a-f]{24}(-[0-9a-f]{24})?\/(\.\/)?/,
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user