aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_extensions/ruc-play/semantic-markdown/semantic-markdown.lua3
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