From 1ca761ce3d5bbd94c12d2841ca484e038f626a2f Mon Sep 17 00:00:00 2001 From: s-ol Date: Sat, 27 Oct 2018 03:25:57 +1100 Subject: fix tablefs on client --- app/tablefs/tablefs.moon | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app/tablefs/tablefs.moon') diff --git a/app/tablefs/tablefs.moon b/app/tablefs/tablefs.moon index 2dfe033..43054c9 100644 --- a/app/tablefs/tablefs.moon +++ b/app/tablefs/tablefs.moon @@ -18,10 +18,10 @@ Fileder { footnote, -> args = for i, note in ipairs notes - li (span i, id: id i), ': ', note + li (span (tostring i), id: id i), ': ', note notes = {} table.insert args, style: { 'list-style': 'none', 'font-size': '0.8em' } - ol unpack args + ol table.unpack args append h1 'Tablefs', style: { 'margin-bottom': 0 } append p "(it's a terrible name, isn't it)", style: { 'margin-top': 0, 'margin-bottom': '1em' } @@ -107,5 +107,6 @@ If you are reading this in the source, then c'mon, just scroll past and give me and some bold **text** and `code tags` with me.", 'preview: moon -> text/markdown': => @get 'text/markdown' -- redirect to main content of same type, if exists + 'preview: text/html': '

on the client I\'m a HTML string.
poor, I know…

' } } -- cgit v1.2.3