Skip to content

Commit a866639

Browse files
committed
Fix whitespace
1 parent 834e763 commit a866639

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/phlex/sgml.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ def json_escape(string)
508508
end
509509
when Phlex::SGML::SafeObject
510510
v.to_s.gsub('"', """)
511-
when -> (v) { v.respond_to?(:to_h) }
511+
when -> (v) { v.respond_to?(:to_h) }
512512
__nested_attributes__(v.to_h, "#{name}-", buffer)
513513
else
514514
raise Phlex::ArgumentError.new("Invalid attribute value for #{k}: #{v.inspect}.")

0 commit comments

Comments
 (0)