Indentation is not kept properly for filters #234

wants to merge 1 commit into

3 participants


:coffeescript and other indentation based filters have an issue again. I didn't have time to fix it, but I've added a failing test for it.

tj commented Jun 10, 2011

i'll take a look, i just wanted to retain the original indentation instead of our ad hoc 2 spaces or whatever we had


I see you've added a fix for the indentation bug. I rebased this test locally to see if it succeeds with your fix, but unfortunately it doesn't. Can you take a look at it?

tj commented Jun 24, 2011

things are definitely still off a little, the outdents are creating newlines which is no good

Pug member

Related to this:

        var start = 'code';

    Sometimes my markdown starts with a code snippet

Fails because the text is indented more than jade expects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment