This would be pretty easy to do with Nokogiri and a block helper.
On Wed, Dec 1, 2010 at 11:12 AM, Nathan Weizenbaum wrote:
> There's no easy way to do this. You'd need to either modify some internal
> Haml code or post-process your HTML.
>
>
> On Wed, Dec 1, 2010 at 1:36 AM, Kot Behemot wrote:
There's no easy way to do this. You'd need to either modify some internal
Haml code or post-process your HTML.
On Wed, Dec 1, 2010 at 1:36 AM, Kot Behemot wrote:
> Is there a simple and DRY way to prefix every 'class' and 'id'
> attribute in the haml output?
>
> So that the following syntax:
>
>
Is there a simple and DRY way to prefix every 'class' and 'id'
attribute in the haml output?
So that the following syntax:
%span.exaple#some_id
will produce
I'd appreciate any help on this.
Regards,
Peter
--
You received this message because you are subscribed to the Google Groups
"Haml"