Permalink
Browse files

fix a couple of escaping issues in edge rails

  • Loading branch information...
1 parent 9599f83 commit 70de24e12ccb8e6bceadb035d2daaacf119a0316 @aaronchi aaronchi committed with josevalim Feb 18, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/simple_form/components/labels.rb
  2. +1 −1 lib/simple_form/inputs/base.rb
@@ -28,7 +28,7 @@ def label
end
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
def label_target
@@ -39,7 +39,7 @@ def render
send(component)
end
content.compact!
- wrap(content.join).html_safe
+ wrap(content.join.html_safe)
end
protected

0 comments on commit 70de24e

Please sign in to comment.