mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05: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:
parent
495dd9016d
commit
db15c83c35
1 changed files with 1 additions and 0 deletions
|
@ -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})?\/(\.\/)?/,
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue