Skip to content

Commit

Permalink
fix a couple of escaping issues in edge rails
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronchi authored and josevalim committed Feb 19, 2010
1 parent 9599f83 commit 70de24e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/simple_form/components/labels.rb
Expand Up @@ -28,7 +28,7 @@ def label
end end


def label_text def label_text
SimpleForm.label_text.call(raw_label_text, required_label_text) SimpleForm.label_text.call(raw_label_text, required_label_text).html_safe
end end


def label_target def label_target
Expand Down
2 changes: 1 addition & 1 deletion lib/simple_form/inputs/base.rb
Expand Up @@ -39,7 +39,7 @@ def render
send(component) send(component)
end end
content.compact! content.compact!
wrap(content.join).html_safe wrap(content.join.html_safe)
end end


protected protected
Expand Down

0 comments on commit 70de24e

Please sign in to comment.