fix a couple of escaping issues in edge rails

This commit is contained in:
Aaron 2010-02-19 03:53:38 +08:00 committed by José Valim
parent 9599f83d60
commit 70de24e12c
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ module SimpleForm
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

View File

@ -39,7 +39,7 @@ module SimpleForm
send(component)
end
content.compact!
wrap(content.join).html_safe
wrap(content.join.html_safe)
end
protected