1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Keep the empty lines in the text fields

It fixes #18036.
This commit is contained in:
Calixte Denizet 2024-10-04 21:29:08 +02:00
parent 6aef332bcd
commit 3194f3de8b
4 changed files with 35 additions and 4 deletions

View file

@ -674,3 +674,4 @@
!issue18072.pdf
!stamps.pdf
!issue15096.pdf
!issue18036.pdf

BIN
test/pdfs/issue18036.pdf Executable file

Binary file not shown.

View file

@ -8477,13 +8477,13 @@
"value": "Hello World"
},
"33R": {
"value": "Hello World\nDlrow Olleh\nHello World"
"value": "\nHello World\nDlrow Olleh\nHello World"
},
"36R": {
"value": "Hello World\nDlrow Olleh\nHello World"
"value": "\nHello World\nDlrow Olleh\nHello World"
},
"39R": {
"value": "Hello World\nDlrow Olleh\nHello World"
"value": "\nHello World\nDlrow Olleh\nHello World"
}
}
},
@ -10684,5 +10684,13 @@
"value": false
}
}
},
{
"id": "issue18036",
"file": "pdfs/issue18036.pdf",
"md5": "940ad97fc1a6f8d288a213af80313c7e",
"rounds": 1,
"type": "eq",
"annotations": true
}
]