Closed javoire closed 9 years ago
Yeah I think this is might be a solution https://github.com/scil/MtHamlMore#extra-feature-2--reduce-runtime, which is also mentioned i #3
@alexluke @javoire I realize this is old, but I recently committed a pull request that adds an option to disable this: https://github.com/arnaud-lb/MtHaml/commit/1eddd2c8a9b9d598009cc6b397981d8b57d73ef2
You can see how I implemented it into a Guard plugin here.
@ezekg Thanks for this patch, I've just made a PR for grunt-haml-php
to accept and pass enableDynamicAttributes option to the new version of MtHaml
@alexluke Do you mind giving it a look?
Thanks everyone, 0.4.1 is now available on npm with this option.
According to MtHaml docs (https://github.com/arnaud-lb/MtHaml), this:
Is supposed to become this:
However, using grunt-haml-php, I get this:
The href attribute on the a-tag requires MtHaml at runtime. I don't if this is what you're referring to here #3.
Is there a possibilty to change this behaviour? I'm sooo close now to not having to use regular ugly php and html so I'd be so thrilled if was possible.
Cheers Jonatan