We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doctype
html
Hello, I'm just trying out Slime and while converting my app.html.eex file I found out that if I write this:
app.html.eex
doctype html html
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:
doctype html | html
Is there any particular reason why an empty line is not allowed between the doctype and html tags?
The text was updated successfully, but these errors were encountered:
@lobo-tuerto what versions are you running? This should work unless I'm misunderstanding something here.
Sorry, something went wrong.
@doomspork According to mix.lock:
mix.lock
:phoenix_slime, "0.13.0" :slime, "1.2.1"
@doomspork It seems like an interesting issue, I am willing to work on it. Can you or anyone else give me pointers If any?
Already fixed in slime slime-lang/slime#160
Thanks all! I’m going to cut a new release shortly
No branches or pull requests
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:
Notice the empty line between
doctype
andhtml
.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
andhtml
tags?The text was updated successfully, but these errors were encountered: