Fix style

This commit is contained in:
Dolan Miu
2018-05-06 03:38:08 +01:00
parent 0c9c292291
commit 53ab822dbc

View File

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