cortav  Check-in [0ef3dd0c77]

Overview
Comment:defuck xref structure
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0ef3dd0c77ac205fcaa5d82701bfcf9cde21debf43cfb885e181c99a3e4f5a4b
User & Date: lexi on 2022-09-10 03:16:42
Other Links: manifest | tags
Context
2022-09-10
13:31
better footnotes, update syntax def, delete broken old span check-in: a8358d587d user: lexi tags: trunk
03:16
defuck xref structure check-in: 0ef3dd0c77 user: lexi tags: trunk
03:11
add xref blocks, minor refactors check-in: 76fe4885f4 user: lexi tags: trunk
Changes

Modified render/html.lua from [8ab06e9795] to [4a60de4c59].

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







|
|







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