fix a couple of escaping issues in edge rails
This commit is contained in:
parent
9599f83d60
commit
70de24e12c
|
@ -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
|
||||
|
|
|
@ -39,7 +39,7 @@ module SimpleForm
|
|||
send(component)
|
||||
end
|
||||
content.compact!
|
||||
wrap(content.join).html_safe
|
||||
wrap(content.join.html_safe)
|
||||
end
|
||||
|
||||
protected
|
||||
|
|
Loading…
Reference in New Issue