From e9d742d1c041d9645436b457d34b63e336e9d2e5 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 9 May 2025 13:54:40 +0200 Subject: tidy whitespace --- .../semantic-markdown/semantic-markdown.lua | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) (limited to '_extensions') 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 -- cgit v1.2.3