#9 √ resolved
Simon Rozet

PATCH: Add the possibility to configure options that are passed to Haml::Engine when evalutating HAML template.

Reported by Simon Rozet | April 19th, 2008 @ 01:03 PM | in 0.3.0 Sammy

I am quoting myself from the commit log :

Add the possibility to configure options that are passed to

Haml::Engine when evalutating HAML template.

>

Options can be configured in two different ways:

>

* Application-wide, using set_option :haml

e.g.: set_option :haml, :format => :haml4,

:escape_html => true

>

* By passing options directly to the `haml` helper

e.g.: haml '%strong Hello World', :options => {:format =>

:html4}

>

Note that if you use both way, options will be merged.

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Tags