diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-04-01 12:39:38 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-04-01 12:39:38 +0100 |
| commit | f397a47dd2bb9e294ff86d4a4747234b85887819 (patch) | |
| tree | 694effb34d5ad34c6a9c809b3d01d7ab286781bc /lib/xmlreader.js | |
| parent | e8e2652dac7f2f36158136c3c30072c801d2b1d2 (diff) | |
Read bold and italic properties on runs
Diffstat (limited to 'lib/xmlreader.js')
| -rw-r--r-- | lib/xmlreader.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xmlreader.js b/lib/xmlreader.js index 3efad63..7c15019 100644 --- a/lib/xmlreader.js +++ b/lib/xmlreader.js @@ -65,7 +65,7 @@ function mapValues(input, mapper, context) { function Element(name, attributes, children) { this.type = "element"; this.name = name; - this.attributes = attributes; + this.attributes = attributes || {}; this.children = children || []; } |
