class Marten::Template::Tag::Spaceless
- Marten::Template::Tag::Spaceless
- Marten::Template::Tag::Base
- Reference
- Object
Overview
The spaceless
template tag.
The {% spaceless %}...{% endspaceless %}
template tag allows remove whitespaces, tabs and new lines between
HTML tags. Whitespaces inside tags are left untouched.
Defined in:
marten/template/tag/spaceless.crConstructors
Instance Method Summary
-
#render(context : Context) : String
Render the template tag for a given context.
Instance methods inherited from class Marten::Template::Tag::Base
render(context : Context) : String
render
Constructor methods inherited from class Marten::Template::Tag::Base
new(parser : Parser, source : String)
new
Constructor Detail
Instance Method Detail
Description copied from class Marten::Template::Tag::Base
Render the template tag for a given context.