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
@ -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…
Reference in New Issue
Block a user