phphaml icon indicating copy to clipboard operation
phphaml copied to clipboard

Indentation handling

Open derDoc opened this issue 13 years ago • 0 comments

Haml allows tabs as well as any amount of spaces as long as they are kept consistent. phphaml only recognizes multiples of 2.

In addition whitespace inside of filters (think :preserve) MUST be preserved and passed to the filter as is. Even if it is inconsistent. In other words, countLevel() should not throw an error inside of :filter code.

derDoc avatar Feb 08 '13 13:02 derDoc