cortav  Diff

Differences From Artifact [8ab06e9795]:

To Artifact [4a60de4c59]:


   832    832   				local href
   833    833   				if b.uri then
   834    834   					href = htmlURI(b.uri)
   835    835   				elseif b.ref then
   836    836   					href = idLink(b.ref, b)
   837    837   				end
   838    838   				local sp = sr.htmlSpan(b.spans, b, s)
   839         -				return tag('div', {},
   840         -					catenate{tag('a',{class='link', href=href},sp)})
          839  +				return tag('a',{class='link', href=href},
          840  +					catenate{tag('div', {}, sp)})
   841    841   			end;
   842    842   			table = function(b,s)
   843    843   				local tb = {}
   844    844   				for i, r in ipairs(b.rows) do
   845    845   					local row = {}
   846    846   					for i, c in ipairs(r) do
   847    847   						table.insert(row, tag(c.header and 'th' or 'td',