fallback troubleshooting code for now
This commit is contained in:
parent
70e1f22909
commit
69a952b76b
|
@ -32,7 +32,9 @@ local function resolve_inline_references (ldoc, txt, item, plain)
|
||||||
if not plain then -- a nastiness with markdown.lua and underscores
|
if not plain then -- a nastiness with markdown.lua and underscores
|
||||||
label = label:gsub('_','\\_')
|
label = label:gsub('_','\\_')
|
||||||
end
|
end
|
||||||
local res = ('<a href="%s">%s</a>'):format(ldoc.href(ref),label)
|
local html = ldoc.href(ref) or '#'
|
||||||
|
label = label or '?que'
|
||||||
|
local res = ('<a href="%s">%s</a>'):format(html,label)
|
||||||
return res
|
return res
|
||||||
end))
|
end))
|
||||||
return res
|
return res
|
||||||
|
|
Loading…
Reference in New Issue