cortav  Diff

Differences From Artifact [e9754e6e72]:

To Artifact [2e06151bbc]:


   762    762   
   763    763   		function span_renderers.raw(v,b,s)
   764    764   			return htmlSpan(v.spans, b, s)
   765    765   		end
   766    766   
   767    767   		function span_renderers.link(sp,b,s)
   768    768   			local href = idLink(sp.ref,b)
   769         -			return tag('a',{href=href}, next(sp.spans) and htmlSpan(sp.spans,b,s) or href)
          769  +			local lsp = ct.linkspans(sp)
          770  +			return tag('a',{href=href}, lsp and htmlSpan(lsp,b,s) or href)
   770    771   		end
   771    772   
   772    773   		span_renderers['line-break'] = function(sp,b,s)
   773    774   			return elt('br')
   774    775   		end
   775    776   
   776    777   		function span_renderers.macro(m,b,s)