diff options
| author | Michael Williamson <mike@zwobble.org> | 2018-05-10 17:21:40 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2018-05-10 17:21:40 +0100 |
| commit | 911a6cf046eeac57d4714dd5e39a9c264ac8def3 (patch) | |
| tree | ae41194c08145166925a04eaf6b56a863609837e | |
| parent | 10d697a6f84c67bac9e260233e2a170e1f745a82 (diff) | |
Map note/comment paragraphs to fresh HTML paragraphs
| -rw-r--r-- | NEWS | 5 | ||||
| -rw-r--r-- | lib/options-reader.js | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +# 1.4.6 + +* Fix: default style mappings caused footnotes, endnotes and comments + containing multiple paragraphs to be converted into a single paragraph. + # 1.4.5 * When using the pretty HTML writer, don't format HTML inside pre elements. diff --git a/lib/options-reader.js b/lib/options-reader.js index e7e94fd..9b1864e 100644 --- a/lib/options-reader.js +++ b/lib/options-reader.js @@ -25,11 +25,11 @@ var defaultStyleMap = exports._defaultStyleMap = [ "r[style-name='Strong'] => strong", - "p[style-name='footnote text'] => p", + "p[style-name='footnote text'] => p:fresh", "r[style-name='footnote reference'] =>", - "p[style-name='endnote text'] => p", + "p[style-name='endnote text'] => p:fresh", "r[style-name='endnote reference'] =>", - "p[style-name='annotation text'] => p", + "p[style-name='annotation text'] => p:fresh", "r[style-name='annotation reference'] =>", // LibreOffice |
