summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/Org.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Pandoc/Writers/Org.hs')
-rw-r--r--src/Text/Pandoc/Writers/Org.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/Org.hs b/src/Text/Pandoc/Writers/Org.hs
index b2f9bbc53..e10fcd5ce 100644
--- a/src/Text/Pandoc/Writers/Org.hs
+++ b/src/Text/Pandoc/Writers/Org.hs
@@ -312,6 +312,8 @@ inlineListToOrg lst = hcat <$> mapM inlineToOrg (fixNotes lst)
where fixNotes [] = [] -- prevent note ref from wrapping, see #4171
fixNotes (Space : n@Note{} : rest) =
Str " " : n : fixNotes rest
+ fixNotes (SoftBreak : n@Note{} : rest) =
+ Str " " : n : fixNotes rest
fixNotes (x : rest) = x : fixNotes rest
-- | Convert Pandoc inline element to Org.