Supported newlines #35

Closed
wants to merge 1 commit into
from

2 participants

@tricknotes

I tried to compile the following haml:

%head
  %title

    hi

expected:

<head>
<title>hi</title></head>

but actual:

HamlError: (Haml):4 invalid indentation; got 2, when previous was 0

This patch supports newlines and lines filled in whitespace only.

@tricknotes tricknotes Supported newlines
Follow:
- Within tags
- Filled in whitespace
4dde3f4
@saschagehlich
Collaborator

Thanks, merged!

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