cortav  Diff

Differences From Artifact [b9282cddb6]:

To Artifact [3e270c2a7b]:


944
945
946
947
948
949
950



951
952
953
954
955
956
957
			flush()
			table.insert(spans,{kind='line-break',origin=ctx:clone()})
		else
			buf = buf .. c
		end
	end
	flush()



	return spans
end

local function
blockwrap(fn)
	return function(l,c,j,d)
		local block = fn(l,c,j,d)







>
>
>







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

local function
blockwrap(fn)
	return function(l,c,j,d)
		local block = fn(l,c,j,d)