mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 20:31:34 +02:00
fix infinite loop in translated coffeescript for pdfng text layer
This commit is contained in:
@@ -125,10 +125,11 @@ define [
|
||||
lastFontSize = undefined
|
||||
lastFontFamily = undefined
|
||||
i = 0
|
||||
|
||||
while i < textDivsLength
|
||||
textDiv = textDivs[i]
|
||||
continue if textDiv.dataset.isWhitespace
|
||||
if textDiv.dataset.isWhitespace
|
||||
i++
|
||||
continue
|
||||
fontSize = textDiv.style.fontSize
|
||||
fontFamily = textDiv.style.fontFamily
|
||||
|
||||
|
||||
Reference in New Issue
Block a user