diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-11-06 16:45:03 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-11-06 16:47:13 -0700 |
commit | 213913f02554b5cec8ea946538d8ba445d4d3f4e (patch) | |
tree | 290ad10e1fffb9620434c0cf5c74ac6b3ad7b436 /data | |
parent | 822f8949841f851a56bbd964433aa60205609d20 (diff) | |
download | pandoc-213913f02554b5cec8ea946538d8ba445d4d3f4e.tar.gz |
Pass ReaderOptions to custom readers as second parameter.
Diffstat (limited to 'data')
-rw-r--r-- | data/reader.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/reader.lua b/data/reader.lua index 5cc2dfc0c..e466e6ea1 100644 --- a/data/reader.lua +++ b/data/reader.lua @@ -82,6 +82,6 @@ G = P{ "Pandoc", Special = S"`\\" / pandoc.Str; } -function Reader(input) +function Reader(input, opts) return lpeg.match(G, input) end |