Skip to content

Multiline pipe appears not to be honored #88

@StoneCypher

Description

@StoneCypher

The HAML Spec offers a multiline notation. A HAML transform built on this library which works on similar code fails with this error:

<pre class='error'>SyntaxError: Unexpected token |
  at Function.&lt;anonymous&gt; (/Users/project/node_modules/gulp-haml/node_modules/haml/lib/haml.js:595:29)
  at execute (/Users/project/node_modules/gulp-haml/node_modules/haml/lib/haml.js:602:8)
  at Function.render (/Users/project/node_modules/gulp-haml/node_modules/haml/lib/haml.js:587:12)
  at hamlStream (/Users/project/node_modules/gulp-haml/index.js:23:44)
  at wrappedMapper (/Users/project/node_modules/gulp-haml/node_modules/map-stream/index.js:84:19)
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions