plataformatec/simple_form — pull request #1024 by laurocaetano (2014-04-04 18:07:39+00:00)
Title: Add Support to html markup in I18n options.

This PR fixes #764.

Now, it is possible to have keys in collections which contains html markup, and these keys are going to be escaped.

Example:

The following input:

```erb
<%= f.input :gender, collection: [:female, :male] %>
```

and the following keys:

```YAML
user:
gender:
female_html: 'Female'
male_html: 'Male'
```

Will now result in this html, properly escaping the html.

```HTML

* Gender

Male

Female

```