diff options
Diffstat (limited to '_extensions')
| -rw-r--r-- | _extensions/ruc-play/semantic-markdown/semantic-markdown.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua b/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua index 78480e6..a8ef886 100644 --- a/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua +++ b/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua @@ -145,7 +145,7 @@ end --- @param inlines Markdown with semantic annotations as Inlines --- @returns Markdown stripped of semantic annotations as Inlines --- @see <https://pandoc.org/lua-filters.html#type-inline> -function Statements (blocks) +function Statements (block) -- flags for enclosing stages -- TODO: support nested bracket enclosure @@ -156,7 +156,7 @@ function Statements (blocks) local new_inlines = {} - for i, el in ipairs(blocks.content) do + for i, el in ipairs(block.content) do local pos = 0 -- unenclosed, entering bracketed enclosure |
