cortav  Diff

Differences From Artifact [b9282cddb6]:

To Artifact [3e270c2a7b]:


   944    944   			flush()
   945    945   			table.insert(spans,{kind='line-break',origin=ctx:clone()})
   946    946   		else
   947    947   			buf = buf .. c
   948    948   		end
   949    949   	end
   950    950   	flush()
          951  +	for hk, ext in ctx.doc.docjob:each('hook', 'doc_macro_expand_span') do
          952  +		hk(ctx.doc.docjob:delegate(ext), spans, {origin=ctx})
          953  +	end
   951    954   	return spans
   952    955   end
   953    956   
   954    957   local function
   955    958   blockwrap(fn)
   956    959   	return function(l,c,j,d)
   957    960   		local block = fn(l,c,j,d)