Skip to content

Commit

Permalink
Fix spaces in motion pdf export
Browse files Browse the repository at this point in the history
  • Loading branch information
luisa-beerboom committed Jul 13, 2023
1 parent 86c1db7 commit 7ec556e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class MotionHtmlToPdfService extends HtmlToPdfService {

// Cleanup of dirty html would happen here
if (this.lineNumberingMode === LineNumberingMode.None) {
htmlText = htmlText.replace(/\s+<br class="os-line-break">/g, ``);
htmlText = htmlText.replace(/\s+<br class="os-line-break">/g, ` `);
} else {
htmlText = htmlText.replace(/\s+<br class="os-line-break">/g, `<br class="os-line-break">`);
}
Expand Down

0 comments on commit 7ec556e

Please sign in to comment.