cortav  Diff

Differences From Artifact [84a861628f]:

To Artifact [f159ef53c2]:


   613    613   		function span_renderers.raw(v,b,s)
   614    614   			return htmlSpan(v.spans, b, s)
   615    615   		end
   616    616   
   617    617   		function span_renderers.link(sp,b,s)
   618    618   			local href
   619    619   			if b.origin.doc.sections[sp.ref] then
   620         -				href = '#' .. sp.ref
          620  +				href = '#' .. getSafeID(sp)
   621    621   			else
   622    622   				if sp.addr then href = sp.addr else
   623    623   					local r = b.origin:ref(sp.ref)
   624    624   					if type(r) == 'table' then
   625    625   						href = '#' .. getSafeID(r)
   626    626   					else href = r end
   627    627   				end