aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-05-09 13:54:40 +0200
committerJonas Smedegaard <dr@jones.dk>2025-05-10 12:58:58 +0200
commite9d742d1c041d9645436b457d34b63e336e9d2e5 (patch)
tree3be8764774946152beeafb3600120b4affb34b73
parenta49b1e2a8c8b9b722e092f911832801fbcf39c4d (diff)
tidy whitespace
-rw-r--r--_extensions/ruc-play/semantic-markdown/semantic-markdown.lua24
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