summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/lua-filters.md2
-rw-r--r--src/Text/Pandoc/Data.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md
index 314446c91..2dcf76995 100644
--- a/doc/lua-filters.md
+++ b/doc/lua-filters.md
@@ -1824,7 +1824,7 @@ values:
Applies a Lua filter to the Inlines list. Just as for
full-document filters, the order in which elements are handled
-are are Inline → Inlines → Block → Blocks. The filter is applied
+are Inline → Inlines → Block → Blocks. The filter is applied
to all list items *and* to the list itself. Returns a (deep)
copy on which the filter has been applied: the original list is
left untouched.
diff --git a/src/Text/Pandoc/Data.hs b/src/Text/Pandoc/Data.hs
index e6747a500..1b3916019 100644
--- a/src/Text/Pandoc/Data.hs
+++ b/src/Text/Pandoc/Data.hs
@@ -38,7 +38,7 @@ import Text.Pandoc.Shared (makeCanonical)
import Paths_pandoc (getDataDir)
#endif
--- | Read file from from the default data files.
+-- | Read file from the default data files.
readDefaultDataFile :: PandocMonad m => FilePath -> m B.ByteString
readDefaultDataFile "reference.docx" =
B.concat . BL.toChunks . fromArchive <$> getDefaultReferenceDocx