aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Text/Pandoc/Writers/ConTeXt.hs2
-rw-r--r--tests/writer.context12
2 files changed, 6 insertions, 8 deletions
diff --git a/src/Text/Pandoc/Writers/ConTeXt.hs b/src/Text/Pandoc/Writers/ConTeXt.hs
index da8668e1e..3d1f9cb38 100644
--- a/src/Text/Pandoc/Writers/ConTeXt.hs
+++ b/src/Text/Pandoc/Writers/ConTeXt.hs
@@ -284,4 +284,4 @@ inlineToConTeXt (Image _ (src, _)) = do
inlineToConTeXt (Note contents) = do
contents' <- blockListToConTeXt contents
return $ text "\\footnote{" <>
- nest 2 contents' <> char '}' <> cr
+ nest 2 contents' <> char '}'
diff --git a/tests/writer.context b/tests/writer.context
index 2a47f9f23..316cd7735 100644
--- a/tests/writer.context
+++ b/tests/writer.context
@@ -866,9 +866,8 @@ Here is a movie {\externalfigure[movie.jpg]} icon.
Here is a footnote reference,\footnote{Here is the footnote. It can go
anywhere after the footnote reference. It need not be placed at the end of
- the document.}
- and another.\footnote{Here's the long note. This one contains multiple
- blocks.
+ the document.} and another.\footnote{Here's the long note. This one contains
+ multiple blocks.
Subsequent blocks are indented to show that they belong to the footnote (as
with list items).
@@ -878,10 +877,9 @@ Here is a footnote reference,\footnote{Here is the footnote. It can go
\stoptyping
If you want, you can indent every line, but you can also be lazy and just
- indent the first line of each block.}
- This should {\em not} be a footnote reference, because it contains a
-space.{[}\letterhat{}my note{]} Here is an inline note.\footnote{This is
- {\em easier} to type. Inline notes may contain
+ indent the first line of each block.} This should {\em not} be a footnote
+reference, because it contains a space.{[}\letterhat{}my note{]} Here is an
+inline note.\footnote{This is {\em easier} to type. Inline notes may contain
\useURL[31][http://google.com][][links]\from[31] and \type{]} verbatim
characters, as well as {[}bracketed text{]}.}