Skip to content
New issue

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

[bug]block occurs indent error if next line is empty #399

Closed
guileen opened this issue Nov 5, 2011 · 4 comments
Closed

[bug]block occurs indent error if next line is empty #399

guileen opened this issue Nov 5, 2011 · 4 comments

Comments

@guileen
Copy link
Contributor

guileen commented Nov 5, 2011

this is ok

extends layout
block content
    h1 title

this will get error

extends layout
block content

   h1 title

error is

> h1 title

unexpected token "indent"
    at Object.parseExpr (../jade/lib/parser.js:222:15)
    at Object.parse (../jade/lib/parser.js:129:25)
    at parse (../jade/lib/jade.js:101:62)
    at Object.compile (../jade/lib/jade.js:148:9)

jade version 0.16.4

@reaktivo
Copy link

Just wanted to bring attention to this issue, wasted an hour finding what caused that same error.

@ianstormtaylor
Copy link

+1 here as well.

@zakdances
Copy link

I'm using pyjade and I'm still experiencing this same issue.

@ForbesLindesay
Copy link
Member

This repository is not the repository for pyjade. You'll need to open an issue with the authors of pyjade if it's still a problem there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants