diff options
| author | Jonas Smedegaard <dr@jones.dk> | 2025-05-10 18:15:57 +0200 |
|---|---|---|
| committer | Jonas Smedegaard <dr@jones.dk> | 2025-05-10 18:15:57 +0200 |
| commit | 3d582a88093305b822cb49df0157f6e8f66c9f8c (patch) | |
| tree | 423f2eb9e82a4e406667ef2879a98c2b85e6a73c /_extensions | |
| parent | aab058122a8407b28680d4709daa912e648daa58 (diff) | |
tidy comment
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 ca4b164..585cb86 100644 --- a/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua +++ b/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua @@ -262,9 +262,9 @@ local function Statements (block) if encl == Enclosure.NONE then local _, x, s = el.text:find("^([^%[\\]*)") pos = x and x + 1 or pos + 1 - if el.text:sub(pos, pos) == "[" then - -- entering bracketed enclosure + -- entering bracketed enclosure + if el.text:sub(pos, pos) == "[" then pos = pos + 1 chars = chars..s encl = Enclosure.BRACKETED |
