Don't show BR-tags in PDF when line number mode is set to none
This commit is contained in:
parent
ec2fcbdd73
commit
77ec2e00b1
@ -797,9 +797,9 @@ angular.module('OpenSlidesApp.core.pdf', [])
|
||||
var brParent = element.parentNode;
|
||||
var brParentNodeName = brParent.nodeName;
|
||||
//in case of inline-line-numbers and the os-line-break class ignore the break
|
||||
if ((lineNumberMode == 'inline' &&
|
||||
if (((lineNumberMode === 'inline' || lineNumberMode === 'none') &&
|
||||
hasClass(element, 'os-line-break')) ||
|
||||
(lineNumberMode == 'outside' &&
|
||||
(lineNumberMode === 'outside' &&
|
||||
hasClass(element, 'os-line-break') &&
|
||||
hasClass(brParent, 'os-split-before'))) {
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user