aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2018-11-30 12:29:57 +0000
committers-ol <s-ol@users.noreply.github.com>2018-11-30 12:29:57 +0000
commit3115ac23a11107ef45bd7f2b43d2a95cbf1d8176 (patch)
tree11f043bb3b359bf84d065854372c563a02238a3b
parentdont blank path (diff)
downloadmmm-3115ac23a11107ef45bd7f2b43d2a95cbf1d8176.tar.gz
mmm-3115ac23a11107ef45bd7f2b43d2a95cbf1d8176.zip
fixes
-rw-r--r--mmm/mmmfs/conversion.moon6
-rw-r--r--scss/_reset.scss2
2 files changed, 4 insertions, 4 deletions
diff --git a/mmm/mmmfs/conversion.moon b/mmm/mmmfs/conversion.moon
index 23df3f0..b9719f3 100644
--- a/mmm/mmmfs/conversion.moon
+++ b/mmm/mmmfs/conversion.moon
@@ -1,4 +1,4 @@
-import div, text, code, img, video, blockquote, a, source, iframe from require 'mmm.dom'
+import div, code, img, video, blockquote, a, source, iframe from require 'mmm.dom'
import find_fileder, embed from (require 'mmm.mmmfs.util') require 'mmm.dom'
import tohtml from require 'mmm.component'
@@ -73,7 +73,7 @@ converts = {
facet = js_fix element\getAttribute 'facet'
nolink = js_fix element\getAttribute 'nolink'
- element\replaceWith embed path, facet, fileder, { :nolink }
+ element\replaceWith embed path or '', facet or '', fileder, { :nolink }
assert 1 == parent.childElementCount, "text/html with more than one child!"
parent.firstElementChild
@@ -150,7 +150,7 @@ converts = {
{
inp: 'text/plain',
out: 'mmm/dom',
- transform: single text
+ transform: (val) -> val
},
{
inp: 'alpha',
diff --git a/scss/_reset.scss b/scss/_reset.scss
index 6d37684..6a22a7a 100644
--- a/scss/_reset.scss
+++ b/scss/_reset.scss
@@ -17,7 +17,7 @@ input, select, button { color: initial; }
tt, code, kbd, samp { font-family: 'monospace'; }
code { font-size: 0.8em; }
b { font-weight: bold; }
-i { font-style: italic; }
+em, i { font-style: italic; }
a { cursor: pointer; }
hr { clear: both; }
ul { margin: 0; }