From 2ac7403acdbaabcfe31b2239f46bf915707ceaf1 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 10 May 2018 17:36:22 +0100 Subject: Map note/comment paragraphs to fresh HTML paragraphs --- .../org/zwobble/mammoth/internal/styles/DefaultStyles.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/main') diff --git a/src/main/java/org/zwobble/mammoth/internal/styles/DefaultStyles.java b/src/main/java/org/zwobble/mammoth/internal/styles/DefaultStyles.java index 1a023c7..e05c844 100644 --- a/src/main/java/org/zwobble/mammoth/internal/styles/DefaultStyles.java +++ b/src/main/java/org/zwobble/mammoth/internal/styles/DefaultStyles.java @@ -27,17 +27,17 @@ public class DefaultStyles { "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 - "p[style-name='Footnote'] => p", + "p[style-name='Footnote'] => p:fresh", "r[style-name='Footnote anchor'] =>", - "p[style-name='Endnote'] => p", + "p[style-name='Endnote'] => p:fresh", "r[style-name='Endnote anchor'] =>", "p:unordered-list(1) => ul > li:fresh", -- cgit v1.2.3