We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'd like to pass arguments to haml-js to escape HTML by default. The documentation says I should do this:
haml-js
Haml(src, {escapeHtmlByDefault: true})
How do I do this from grunt-haml?
grunt-haml
The text was updated successfully, but these errors were encountered:
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).
Sorry, something went wrong.
@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
context
No branches or pull requests
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
?The text was updated successfully, but these errors were encountered: