aboutsummaryrefslogtreecommitdiffstats
path: root/app/tablefs/tablefs.moon
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2018-10-26 16:25:57 +0000
committers-ol <s-ol@users.noreply.github.com>2018-10-26 16:25:57 +0000
commit1ca761ce3d5bbd94c12d2841ca484e038f626a2f (patch)
tree8f708c3f880e11a34a91367cecd899eca73d4916 /app/tablefs/tablefs.moon
parentallow style props in html.client (diff)
downloadmmm-1ca761ce3d5bbd94c12d2841ca484e038f626a2f.tar.gz
mmm-1ca761ce3d5bbd94c12d2841ca484e038f626a2f.zip
fix tablefs on client
Diffstat (limited to 'app/tablefs/tablefs.moon')
-rw-r--r--app/tablefs/tablefs.moon5
1 files changed, 3 insertions, 2 deletions
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': '<p>on the client I\'m a HTML string.<br/> poor, <i>I know&hellip;</i></p>'
}
}