diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-08-16 13:05:06 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-08-16 13:05:06 -0700 |
commit | 19591df739a6c50a3d0a9af55ba90b883264b21d (patch) | |
tree | 887fe61ce7e56a163954fde28042ac02b92cfeec /src | |
parent | 441a7aebf8c141612203d1cab0032f8c55e536ed (diff) | |
download | pandoc-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.hs | 1 |
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 _ = "" |