Skip to content
This repository was archived by the owner on Jul 1, 2018. It is now read-only.
This repository was archived by the owner on Jul 1, 2018. It is now read-only.

DeviseHelper#devise_error_messages! should not use html_safe #39

@crawfoal

Description

@crawfoal

content_tag should be used instead. Here is example usage from the documentation:

content_tag(:div, "Hello world!", class: ["strong", "highlight"])
 # => <div class="strong highlight">Hello world!</div>

content-tag will automatically return an html safe string, and handles any escaping that may be necessary.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions