Skip to content

Commit

Permalink
Don't strip anything from value_was strings
Browse files Browse the repository at this point in the history
  • Loading branch information
cavis committed Oct 2, 2023
1 parent 18b2213 commit 91854e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/feeder_form_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def add_changed(method, opts)

# save previous value as a data attribute
if has_value_was
add_data(opts, CHANGED_DATA_VALUE_WAS, value_was)
opts[:data][CHANGED_DATA_VALUE_WAS] = value_was.to_s.html_safe
end
end
end
Expand Down

0 comments on commit 91854e1

Please sign in to comment.