Merge pull request #4453 from emanuelschuetze/fixPdf
Fixed linenumbering error on building motion pdf (checks if element i…
This commit is contained in:
commit
37f9d5c94a
@ -170,7 +170,11 @@ export class LinenumberingService {
|
||||
'DEL',
|
||||
'STRIKE'
|
||||
];
|
||||
return inlineElements.indexOf(element.nodeName) > -1;
|
||||
if (element) {
|
||||
return inlineElements.indexOf(element.nodeName) > -1;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user