diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-01-13 18:57:52 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-01-13 18:57:52 +0000 |
| commit | 2935aefeb21941a42a5889bcf8a71d006b15ec36 (patch) | |
| tree | ec9eae0278fd1d666f70e9b1a3ead49924c31254 /lib/options-reader.js | |
| parent | 5eda4a6a5ba8fd7ca9204d8d3646b48b29849719 (diff) | |
Improve support for lists made in LibreOffice
Diffstat (limited to 'lib/options-reader.js')
| -rw-r--r-- | lib/options-reader.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/options-reader.js b/lib/options-reader.js index f2f31e2..19934d8 100644 --- a/lib/options-reader.js +++ b/lib/options-reader.js @@ -6,8 +6,6 @@ var _ = require("underscore"); var standardOptions = exports._standardOptions = { styleMap: [ - "p[style-name='Normal'] => p:fresh", - "p.Heading1 => h1:fresh", "p.Heading2 => h2:fresh", "p.Heading3 => h3:fresh", @@ -46,7 +44,10 @@ var standardOptions = exports._standardOptions = { "p:ordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh", "p:ordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh", - "r[style-name='Hyperlink'] =>" + "r[style-name='Hyperlink'] =>", + + "p[style-name='Normal'] => p:fresh" + ], transformDocument: identity, includeDefaultStyleMap: true |
