mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #13011 from brendandahl/remove-new-line
Remove extra new line from HTML source.
This commit is contained in:
commit
0b7415f982
1 changed files with 1 additions and 1 deletions
|
@ -817,7 +817,7 @@ function preprocessHTML(source, defines) {
|
|||
fs.unlinkSync(outName);
|
||||
|
||||
var i = source.lastIndexOf("/");
|
||||
return createStringSource(source.substr(i + 1), out);
|
||||
return createStringSource(source.substr(i + 1), `${out.trimEnd()}\n`);
|
||||
}
|
||||
|
||||
function buildGeneric(defines, dir) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue