diff options
| author | Jonas Smedegaard <dr@jones.dk> | 2025-05-09 10:01:59 +0200 |
|---|---|---|
| committer | Jonas Smedegaard <dr@jones.dk> | 2025-05-09 10:01:59 +0200 |
| commit | de31d968044d2390df2b8a6b8f44d7f001500c1f (patch) | |
| tree | 765ef6b5b851715f199dc78201d072cd4a92bb11 | |
| parent | c2f587ec3b5d9bed3b927d295030ba26a3bb3f49 (diff) | |
fix match curie_default; drop obsolete related TODO comment
| -rw-r--r-- | _extensions/ruc-play/semantic-markdown/semantic-markdown.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua b/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua index c3043de..d8fd339 100644 --- a/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua +++ b/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua @@ -282,12 +282,11 @@ function Statements (block) -- in braced enclosure, leaving it -- TODO: support mixed-use enclosure - -- TODO: cover curie_prefix and curie_local and curie_default if braced then _, d1 = string.find(el.text, "^"..curie_long.."}", pos) _, d2 = string.find(el.text, "^"..curie_no_ref.."}", pos) _, d3 = string.find(el.text, "^"..curie_local.."}", pos) - _, d4 = string.find(el.text, "^"..curie_local.."}", pos) + _, d4 = string.find(el.text, "^"..curie_default.."}", pos) if d1 then d = d1 elseif d2 then d = d2 elseif d3 then d = d3 |
