ae60e0196c
* Deprecate `--strip-empty-paragraphs` option. Instead we now
use an `empty_paragraphs` extension that can be enabled on
the reader or writer. By default, disabled.
* Add `Ext_empty_paragraphs` constructor to `Extension`.
* Revert "Docx reader: don't strip out empty paragraphs."
This reverts commit d6c58eb836
.
* Implement `empty_paragraphs` extension in docx reader and writer,
opendocument writer, html reader and writer.
* Add tests for `empty_paragraphs` extension.
25 lines
987 B
Text
25 lines
987 B
Text
[Table [] [AlignDefault] [0.0]
|
|
[[]]
|
|
[[[]]
|
|
,[[Plain [Str "User\8217s",Space,Str "Guide"]]]
|
|
,[[]]
|
|
,[[]]
|
|
,[[]]
|
|
,[[Plain [Str "11",Space,Str "August",Space,Str "2017"]]]
|
|
,[[]]
|
|
,[[]]
|
|
,[[]]
|
|
,[[]]]
|
|
,Para [Str "CONTENTS"]
|
|
,Para [Strong [Str "Section",Space,Str "Page"]]
|
|
,Para [Str "FIGURES",Space,Str "iv"]
|
|
,Para [Str "TABLES",Space,Str "v"]
|
|
,Para [Str "SECTION",Space,Str "1",Space,Str "Introduction",Space,Str "2"]
|
|
,Header 1 ("figures",["Heading0"],[]) [Str "FIGURES"]
|
|
,Para [Strong [Str "Figure",Space,Str "Page"]]
|
|
,Para [Strong [Str "No",Space,Str "table",Space,Str "of",Space,Str "figures",Space,Str "entries",Space,Str "found."]]
|
|
,Header 1 ("tables",["Heading0"],[]) [Str "TABLES"]
|
|
,Para [Strong [Str "Table",Space,Str "Page"]]
|
|
,Para [Strong [Str "No",Space,Str "table",Space,Str "of",Space,Str "figures",Space,Str "entries",Space,Str "found."]]
|
|
,Header 1 ("introduction",[],[]) [Str "Introduction"]
|
|
,Para [Str "Nothing",Space,Str "to",Space,Str "introduce,",Space,Str "yet."]]
|