aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sem-md/sem-md.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/sem-md/sem-md.lua b/sem-md/sem-md.lua
index 6f81209..badf8a9 100644
--- a/sem-md/sem-md.lua
+++ b/sem-md/sem-md.lua
@@ -541,7 +541,7 @@ local function Statements (block)
iffy.qualify_unenclosed()
else
- iffy.append_elems_unenclosed(el)
+ iffy.append_elems_any(el)
end
-- specific elements represent content enclosure
@@ -565,7 +565,7 @@ local function Statements (block)
if iffy.state_is(NONE) then
local _, nextpos, s = str:find("^([^%[{\\]*)")
pos = nextpos and nextpos + 1 or pos + 1
- iffy.append_chars_unenclosed(s)
+ iffy.append_chars_any(s)
-- entering bracketed or braced enclosure
local t = str:sub(pos, pos)
@@ -668,7 +668,7 @@ local function Statements (block)
-- TODO: parse str_remains for another enclosure
if str_remains:len() > 0 then
- iffy.append_elems_unenclosed(str_remains)
+ iffy.append_elems_any(str_remains)
iffy.set_state(NONE)
end
end