diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-07-13 15:10:27 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-07-13 15:10:27 -0700 |
commit | ea1bb4ed272a92b2458ccbf72439b1fd7e52cf0a (patch) | |
tree | 767eb306eb43c12d85886237c30fc77a48b60a43 /src/Text | |
parent | 5dba2e21925fe0ca7c0a252c54d6fe79fa061ff5 (diff) | |
download | pandoc-ea1bb4ed272a92b2458ccbf72439b1fd7e52cf0a.tar.gz |
Better comment on removeFormatting.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Shared.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs index 02391885d..1fd801cd8 100644 --- a/src/Text/Pandoc/Shared.hs +++ b/src/Text/Pandoc/Shared.hs @@ -494,7 +494,7 @@ normalizeInlines (Cite cs ils : ys) = normalizeInlines (x : xs) = x : normalizeInlines xs normalizeInlines [] = [] --- | Remove inline formatting from a list of inlines. +-- | Extract inlines, removing formatting. removeFormatting :: Walkable Inline a => a -> [Inline] removeFormatting = query go . walk deNote where go :: Inline -> [Inline] |