From dd28d971d67ce558b86ac12f01d38e9ff21c91b7 Mon Sep 17 00:00:00 2001 From: Craig Leinoff Date: Fri, 3 Jan 2014 12:42:31 -0500 Subject: Adding fixed "p.CenteredHeading" in the event of a centered heading, which will, by default, create an h2.centered tag. --- lib/documents.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/documents.js') diff --git a/lib/documents.js b/lib/documents.js index 4dfbe74..193bb4f 100644 --- a/lib/documents.js +++ b/lib/documents.js @@ -22,7 +22,8 @@ function Run(children, properties) { children: children, styleName: properties.styleName || null, isBold: properties.isBold, - isItalic: properties.isItalic + isItalic: properties.isItalic, + alignment: properties.alignment || null }; } -- cgit v1.2.3