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:
parent
b4df815fdf
commit
8978a7066f
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue