diff options
| author | Albert Krewinkel <[email protected]> | 2024-05-28 12:04:32 +0200 |
|---|---|---|
| committer | Albert Krewinkel <[email protected]> | 2024-05-28 13:46:18 +0200 |
| commit | 04dba0d771e93d22be7dca4cae3de1a350ae832a (patch) | |
| tree | 1ed35bfbe9217d7d44fca5d5293ca2815c24eba1 | |
| parent | 372cd1d3b19b94ce7a8a72349a5fb6d735025878 (diff) | |
Lua: fix typo in `run_lua_filter`
Fixes previous commit ad68ff34aeb78e26d98a593dfdaf6bc4933857fc.
| -rw-r--r-- | doc/lua-filters.md | 4 | ||||
| -rw-r--r-- | pandoc-lua-engine/src/Text/Pandoc/Lua/Module/Utils.hs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md index fc5910e5e..d20a85b3e 100644 --- a/doc/lua-filters.md +++ b/doc/lua-filters.md @@ -3910,9 +3910,9 @@ Returns: *Since: 2.17* -### run_filter_filter {#pandoc.utils.run_filter_filter} +### run_lua_filter {#pandoc.utils.run_lua_filter} -`run_filter_filter (doc, filter)` +`run_lua_filter (doc, filter)` Filter the given doc by passing it through a Lua filter. diff --git a/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/Utils.hs b/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/Utils.hs index fb3484465..447fafe31 100644 --- a/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/Utils.hs +++ b/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/Utils.hs @@ -250,7 +250,7 @@ references = defun "references" -- | Run a filter from a file. run_lua_filter :: DocumentedFunction PandocError -run_lua_filter = defun "run_filter_filter" +run_lua_filter = defun "run_lua_filter" ### (flip runFilterFile) <#> parameter peekPandoc "Pandoc" "doc" "the Pandoc document to filter" <#> parameter peekString "string" "filter" "filepath of the filter to run" |
