changed comma by semicolon to work in Word 2016.

This commit is contained in:
Sergio Mendonça
2018-10-21 19:37:37 -02:00
parent b6f431e14d
commit c429ae9920

View File

@ -56,7 +56,7 @@ export class FieldInstruction extends XmlComponent {
instruction = `${instruction} \\s "${this.properties.seqFieldIdentifierForPrefix}"`; instruction = `${instruction} \\s "${this.properties.seqFieldIdentifierForPrefix}"`;
} }
if (this.properties.stylesWithLevels && this.properties.stylesWithLevels.length) { if (this.properties.stylesWithLevels && this.properties.stylesWithLevels.length) {
const styles = this.properties.stylesWithLevels.map((sl) => `${sl.styleName},${sl.level}`).join(","); const styles = this.properties.stylesWithLevels.map((sl) => `${sl.styleName};${sl.level}`).join(";");
instruction = `${instruction} \\t "${styles}"`; instruction = `${instruction} \\t "${styles}"`;
} }
if (this.properties.useAppliedParagraphOutlineLevel) { if (this.properties.useAppliedParagraphOutlineLevel) {