1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

[Haml] Document :ugly.

Why wasn't this done before?
This commit is contained in:
Nathan Weizenbaum 2009-07-04 18:14:24 -07:00
parent b4df815fdf
commit 8978a7066f

View file

@ -117,6 +117,14 @@ Available options are:
and rendering partials.
Defaults to false.
{#ugly-option} `:ugly`
: If set to `true`, Haml makes no attempt to properly
indent or format the HTML output.
This causes the rendering to be done much quicker than it would otherwise,
but makes viewing the source unpleasant.
Defaults to `false`, but is set to `true`
in production for Rails.
{#suppress_eval-option} `:suppress_eval`
: Whether or not attribute hashes and Ruby scripts
designated by `=` or `~` should be