aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-08-16 13:05:06 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-08-16 13:05:06 -0700
commit19591df739a6c50a3d0a9af55ba90b883264b21d (patch)
tree887fe61ce7e56a163954fde28042ac02b92cfeec /src
parent441a7aebf8c141612203d1cab0032f8c55e536ed (diff)
downloadpandoc-19591df739a6c50a3d0a9af55ba90b883264b21d.tar.gz
Shared: stringify now skips over footnotes.
That is usually the right thing to do for section labels, etc.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Shared.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs
index 72b467da5..bf92601ef 100644
--- a/src/Text/Pandoc/Shared.hs
+++ b/src/Text/Pandoc/Shared.hs
@@ -391,6 +391,7 @@ stringify = query go
go (Str x) = x
go (Code _ x) = x
go (Math _ x) = x
+ go (Note _) = ""
go LineBreak = " "
go _ = ""