diff options
Diffstat (limited to '_extensions')
| -rw-r--r-- | _extensions/ruc-play/semantic-markdown/semantic-markdown.lua | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua b/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua index 4980a6b..7f09756 100644 --- a/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua +++ b/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua @@ -276,21 +276,21 @@ function Statements (block) -- exited bracketed enclosure if enclosure == Enclosure.BRACKETED_DONE then - -- entering braced enclosure - if el.text:sub(pos, pos) == "{" then - pos = pos + 1 - enclosure = Enclosure.BRACED + -- entering braced enclosure + if el.text:sub(pos, pos) == "{" then + pos = pos + 1 + enclosure = Enclosure.BRACED - -- leaving non-annotation enclosure - else - enclosure = Enclosure.NONE + -- leaving non-annotation enclosure + else + enclosure = Enclosure.NONE - -- TODO: clear only back to entering this bracketed enclosure - stack = {} + -- TODO: clear only back to entering this bracketed enclosure + stack = {} - -- TODO: parse remains of Str - goto continue - end + -- TODO: parse remains of Str + goto continue + end end -- in braced enclosure, leaving it |
