Inline references are now @{ref}, not <ref>

This commit is contained in:
steve donovan 2011-07-07 14:29:27 +02:00
parent c727f0106c
commit 4d718d3e86
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ end
-- inline <references> use same lookup as @see -- inline <references> use same lookup as @see
function markup.resolve_inline_references (ldoc, txt) function markup.resolve_inline_references (ldoc, txt)
return (txt:gsub('<([%w_%.]-)>',function(name) return (txt:gsub('@{([%w_%.]-)}',function(name)
local ref,err = ldoc.module:process_see_reference(name,ldoc.modules) local ref,err = ldoc.module:process_see_reference(name,ldoc.modules)
if not ref then if not ref then
if ldoc.item then ldoc.item:warning(err) if ldoc.item then ldoc.item:warning(err)