lib/tinymce/rails/configuration_file.rb in tinymce-rails-6.1.0 vs lib/tinymce/rails/configuration_file.rb in tinymce-rails-6.1.1

- old
+ new

@@ -41,9 +41,10 @@ Configuration.new_with_defaults(options) end end def load_yaml(path) - YAML::load(ERB.new(IO.read(path)).result) + result = ERB.new(IO.read(path)).result + YAML.respond_to?(:unsafe_load) ? YAML.unsafe_load(result) : YAML.load(result) end end end