gulp-community / gulp-haml

gulp plugin for Haml
MIT License
25 stars 20 forks source link

Haml error on compile #11

Closed frankfriberg closed 9 years ago

frankfriberg commented 9 years ago

Get this error when I try to compile it, no errors in console, just in the .html document itself:

<pre class='error'>SyntaxError: Unexpected token &gt;
    at Function.&lt;anonymous&gt; (/Users/Frank/Dropbox/Projects/flexygrid/node_modules/gulp-haml/node_modules/haml/lib/haml.js:595:29)
    at execute (/Users/Frank/Dropbox/Projects/flexygrid/node_modules/gulp-haml/node_modules/haml/lib/haml.js:602:8)
    at Function.render (/Users/Frank/Dropbox/Projects/flexygrid/node_modules/gulp-haml/node_modules/haml/lib/haml.js:587:12)
    at hamlStream (/Users/Frank/Dropbox/Projects/flexygrid/node_modules/gulp-haml/index.js:23:44)
    at wrappedMapper (/Users/Frank/Dropbox/Projects/flexygrid/node_modules/gulp-haml/node_modules/map-stream/index.js:84:19)
    at Stream.stream.write (/Users/Frank/Dropbox/Projects/flexygrid/node_modules/gulp-haml/node_modules/map-stream/index.js:96:21)
    at write (/Users/Frank/Dropbox/Projects/flexygrid/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:623:24)
    at flow (/Users/Frank/Dropbox/Projects/flexygrid/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:632:7)
    at DestroyableTransform.pipeOnReadable (/Users/Frank/Dropbox/Projects/flexygrid/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:664:5)
    at DestroyableTransform.emit (events.js:92:17)</pre>
stephenlacy commented 9 years ago

The error is a syntax error, not related to this plugin.

Check your code with the docs here: https://github.com/creationix/haml-js > is the code for >