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:
parent
82e6018826
commit
eb7f369c54
@ -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…
x
Reference in New Issue
Block a user