Merge branch 'master' of github.com:johnbintz/semantic_rails_view_helpers
This commit is contained in:
commit
f4814651ba
|
@ -31,7 +31,7 @@ module SemanticRailsViewHelpers
|
|||
value = value.to_label if value.respond_to?(:to_label)
|
||||
|
||||
if options[:raw]
|
||||
value = value.html_safe
|
||||
value = (value || '').html_safe
|
||||
end
|
||||
|
||||
if SemanticRailsViewHelpers.semantic_data?
|
||||
|
|
Loading…
Reference in New Issue