Hello,
I'm just trying out Slime and while converting my app.html.eex file I found out that if I write this:
I get an error like:
Compiling 1 file (.ex)
== Compilation error in file lib/rumbl_web/views/layout_view.ex ==
** (Slime.TemplateSyntaxError) Unexpected symbol '
'
INPUT, Line 2, Column 1
Notice the empty line between doctype and html.
If I remove the space everything is ok.
It also works like this:
Is there any particular reason why an empty line is not allowed between the doctype and html tags?
Hello,
I'm just trying out Slime and while converting my
app.html.eexfile I found out that if I write this:doctype html htmlI get an error like:
Notice the empty line between
doctypeandhtml.If I remove the space everything is ok.
It also works like this:
doctype html | htmlIs there any particular reason why an empty line is not allowed between the
doctypeandhtmltags?