fixed formatting styles

This commit is contained in:
Igor Bulovski
2018-05-17 15:32:15 +02:00
parent cdb86b741c
commit dadd8c122f
12 changed files with 26 additions and 27 deletions

View File

@ -44,9 +44,7 @@ export class ExternalStylesFactory {
});
// convert the styles one by one
xmlStyles["w:style"]
.map((style) => this.convertElement("w:style", style))
.forEach(importedStyle.push.bind(importedStyle));
xmlStyles["w:style"].map((style) => this.convertElement("w:style", style)).forEach(importedStyle.push.bind(importedStyle));
return importedStyle;
}