I wouldn't keep this enabled in production, but you should be able
write a Rack output filter that does a regex on XML files.
Just a thought.
:brad
Brevity disclaimer: Sent from my iPhone
---
bradley grzesiak
co-founder, bendyworks llc
On Feb 28, 2010, at 10:59, dreamcat four <[email protected]> wrote:
On Sat, Feb 27, 2010 at 9:18 PM, Nathan Weizenbaum
<[email protected]> wrote:
The problem is not so much that the specific indentation has been
hard-coded
(it has in a few places for reasons of simplicity, but not enough
that they
would be terribly difficult to change). The bigger problem is that
there are
numerous places where indentation is important for more than
generation:
re-indenting code that's already indented, for instance. This is
the stuff
that would be difficult to track down and get exactly right,
especially with
an arbitrary string as indentation.
Thank you for explaining Nathan. Thats good to know. So its all these
surrounding features which affect / are affected by and expecting the
fixed 2spc haml indentation level. Perfectly understandable.
Expect me to stay away from this until I feel confident enough about
those feature set. Unfortunately this is a bit beyond me just at the
moment. So, for later then.
:)
dreamcat4
[email protected]
--
You received this message because you are subscribed to the Google
Groups "Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group at http://groups.google.com/group/haml?hl=en
.
--
You received this message because you are subscribed to the Google Groups
"Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.