Merge branch 'master' of github.com:dolanmiu/docx into feat/right-indent
This commit is contained in:
@ -27,6 +27,7 @@ export class Body extends XmlComponent {
|
||||
|
||||
public prepForXml(file?: File): IXmlableObject | undefined {
|
||||
if (this.sections.length === 1) {
|
||||
this.root.splice(0, 1);
|
||||
this.root.push(this.sections.pop() as SectionProperties);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user