Open chug2k opened 10 years ago
It doesn't look like its currently possible to do so; see https://github.com/concordusapps/grunt-haml/blob/master/tasks/haml.js#L137
It'd be trivial to add if you want to fling a pull request our way (just add options as the second parameter to the function).
@chug2k Did you end up with a solution? Interested in the same thing and will take a pass at extending the plugin.
Actually I'm happy to use the existing context
option in coffee-haml. Added a PR to document the option in #25
I'd like to pass arguments to
haml-js
to escape HTML by default. The documentation says I should do this:How do I do this from
grunt-haml
?