mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #4589 from Snuffleupagus/bug-872827
Remove leading and trailing spaces from info.Producer and info.Creator when printing debug info in the console (bug 872827)
This commit is contained in:
commit
79f82b0fae
1 changed files with 2 additions and 2 deletions
|
@ -1102,8 +1102,8 @@ var PDFView = {
|
|||
|
||||
// Provides some basic debug information
|
||||
console.log('PDF ' + pdfDocument.fingerprint + ' [' +
|
||||
info.PDFFormatVersion + ' ' + (info.Producer || '-') +
|
||||
' / ' + (info.Creator || '-') + ']' +
|
||||
info.PDFFormatVersion + ' ' + (info.Producer || '-').trim() +
|
||||
' / ' + (info.Creator || '-').trim() + ']' +
|
||||
(PDFJS.version ? ' (PDF.js: ' + PDFJS.version + ')' : ''));
|
||||
|
||||
var pdfTitle;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue