[Nitro] Nuby templating question
george.moschovitis at gmail.com
Wed Aug 17 17:17:07 EDT 2005
They are removed to 'compress' output. Perhaps this 'feature' should be removed?
On 8/17/05, Alan Garrison <alang at cronosys.com> wrote:
> George Moschovitis wrote:
> >Yeah, if you define a subclass of Nitro::Element you can use it in
> >your tempates as a cheap form of macro or tag.
> >class MyTag < Nitro::Element
> >responds to
> >to be xhtml compliant
> >you can customize the x: prefix if you want.
> Is there a particular reason that "<!-- these style comments -->" are
> stripped out by the template engine in the .xhtml files? It's not a
> problem per se, just I was using the comments in different template
> files to keep track of which ones were rendering when, and I noticed
> that they weren't being sent at all.
> Alan Garrison
> Cronosys, LLC <http://www.cronosys.com>
> Phone: 216-221-4600 ext 308
> Nitro-general mailing list
> Nitro-general at rubyforge.org
More information about the Nitro-general