diff --git a/client/src/app/core/pdf-services/html-to-pdf.service.ts b/client/src/app/core/pdf-services/html-to-pdf.service.ts index 1c89e96b1..e322e2773 100644 --- a/client/src/app/core/pdf-services/html-to-pdf.service.ts +++ b/client/src/app/core/pdf-services/html-to-pdf.service.ts @@ -342,11 +342,15 @@ export class HtmlToPdfService { break; } case 'br': { - newParagraph = this.create('text'); - // yep thats all - newParagraph.text = '\n'; - newParagraph.lineHeight = this.LINE_HEIGHT; - break; + if (this.lineNumberingMode === LineNumberingMode.None && classes.includes('os-line-break')) { + break; + } else { + newParagraph = this.create('text'); + // yep thats all + newParagraph.text = '\n'; + newParagraph.lineHeight = this.LINE_HEIGHT; + break; + } } case 'ul': case 'ol': {